External Publication
Visit Post

Add internal functions to rust

Rust Internals [Unofficial] March 6, 2026
Source

Are you looking for pub(crate)?

Also, if the caller must satisfy some safety invariant, the function should probably be marked unsafe.

pub(crate) unsafe fn unsafe_function() {
    todo!()
}

Discussion in the ATmosphere

Loading comments...