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()
- please run [.pre-commit.sh] before sending a PR, it will check everything
This project is licensed under the MIT license.