unsafe_fn_body

Crates.iounsafe_fn_body
lib.rsunsafe_fn_body
version0.1.3
sourcesrc
created_at2024-02-16 08:13:21.383107
updated_at2024-05-28 03:54:44.480145
descriptionWrap the function body in an unsafe block using attribute macros
homepagehttps://github.com/vSylva/unsafe_fn_body
repositoryhttps://github.com/vSylva/unsafe_fn_body
max_upload_size
id1142204
size3,694
(sylvavv)

documentation

README

Wrap the function body in an unsafe block using attribute macros

#[unsafe_fn_body::unsafe_fn_body]
fn unsafe_fn(){
    // ...
}
fn unsafe_fn(){
    unsafe{
        // ...
    }
}
Commit count: 5

cargo fmt