mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-20 10:54:51 +08:00
Add doc
This commit is contained in:
@@ -11,3 +11,8 @@ pub mod utils;
|
||||
lazy_static::lazy_static! {
|
||||
static ref COUNTER: utils::counter::Counter = utils::counter::Counter::new();
|
||||
}
|
||||
|
||||
/// Returns a reference to the global counter instance.
|
||||
pub fn get_counter() -> &'static utils::counter::Counter {
|
||||
&COUNTER
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user