Expand description
§code-path
A code path macro
§Usage
Check out an anyhow example.
§Contributing
- please run [.pre-commit.sh] before sending a PR, it will check everything
§License
This project is licensed under the MIT license.
Macros§
- code_
loc - Returns the code location:
file_name:line:column - code_
path - Returns the current code scope with location, e.g.
foo::bar at src/lib.rs:80:17 - code_
scope - Returns the current scope path, e.g.
my_crate::my_module::my_function)
Structs§
- Code
Path - Represents path in the code