Expand description
This is a template crate for Rust project
//!
is a enclosing doc comment for the whole crate.
Modules§
- another_
mod pub
andpub(crate)
is different.pub
is visible in user code,pub(crate)
is only visible in this crate. thuspub(crate)
item won’t be shown in https://docs.rs- sample_
mod //!
comment can be used for the module.
Functions§
- public_
function - This is a public function.