Crates.io | unsafe_fn_body |
lib.rs | unsafe_fn_body |
version | 0.1.3 |
source | src |
created_at | 2024-02-16 08:13:21.383107 |
updated_at | 2024-05-28 03:54:44.480145 |
description | Wrap the function body in an unsafe block using attribute macros |
homepage | https://github.com/vSylva/unsafe_fn_body |
repository | https://github.com/vSylva/unsafe_fn_body |
max_upload_size | |
id | 1142204 |
size | 3,694 |
Wrap the function body in an unsafe block using attribute macros
#[unsafe_fn_body::unsafe_fn_body]
fn unsafe_fn(){
// ...
}
fn unsafe_fn(){
unsafe{
// ...
}
}