Crates.io | code-path |
lib.rs | code-path |
version | 0.3.2 |
source | src |
created_at | 2023-06-20 08:53:57.090919 |
updated_at | 2024-08-05 06:25:09.017924 |
description | A code path macro |
homepage | |
repository | https://github.com/imbolc/code-path |
max_upload_size | |
id | 894837 |
size | 9,489 |
A code path macro
fn foo() {
fn bar() {
assert_eq!(
code_path::code_path!(),
"rust_out::main::_doctest_main_src_lib_rs_10_0::foo::bar, src/lib.rs:9:13".into(),
);
}
bar()
}
foo()
This project is licensed under the MIT license.