Created
June 28, 2025 21:17
-
-
Save freedomtowin/a7e31e68a5890839ad8314a22fe836ed to your computer and use it in GitHub Desktop.
Example of creating a Gist using Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use my_proc_macros_lib::log_entry_and_exit; | |
| #[log_entry_and_exit(time, ret)] | |
| fn compute(x: i32) -> i32 { | |
| x * 2 | |
| } | |
| pub fn test_attribute() { | |
| let val = compute(10); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment