ambient_std 0.3.1

Ambient standard library extensions
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[macro_export]
#[doc(hidden)]
/// Create a unique identifier from the current file, line, and column
macro_rules! line_uid {
    (($s:expr),*) => {{
        format!("{}:{}:{}:{:?}",file!(),line!(), column!(), $($s),*)
    }};
    () => {{
        concat!(file!(), ":" , line!(), ":", column!())
    }}
}