Crates.io | respan |
lib.rs | respan |
version | 0.1.5 |
source | src |
created_at | 2022-11-30 23:53:35.038734 |
updated_at | 2023-07-15 20:58:09.656363 |
description | Macros to erase scope information from tokens |
homepage | |
repository | https://github.com/dtolnay/respan |
max_upload_size | |
id | 727164 |
size | 16,842 |
Macros to erase scope information from tokens.
#![forbid(unsafe_code)]
fn main() {
let ptr = 1337 as *const i32;
let value = respan::call_site! {
unsafe { *ptr }
};
println!("{}", value);
}