Crate project_template

Source
Expand description

This is a template crate for Rust project //! is a enclosing doc comment for the whole crate.

Modules§

another_mod
pub and pub(crate) is different. pub is visible in user code, pub(crate) is only visible in this crate. thus pub(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.