code-path 0.3.2

A code path macro
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 2 items with examples
  • Size
  • Source code size: 9.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.77 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • imbolc/code-path
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • imbolc

code-path

License Crates.io Docs.rs

A code path macro

Usage


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()

Contributing

  • please run [.pre-commit.sh] before sending a PR, it will check everything

License

This project is licensed under the MIT license.