Force the compiler and clippy to return a warning when a function isn't documented

This commit is contained in:
Quentin Legot
2023-03-13 14:51:32 +01:00
parent 8126a9ac2e
commit 5a6a70f1b7
3 changed files with 31 additions and 1 deletions

View File

@ -30,6 +30,7 @@ impl<'a> System<'a> {
}
}
/// use thread_manager setter to send it system instance
pub fn freeze(&'a mut self) {
self.thread_manager.system.set(Option::Some(self));
}