Code cleanup
This commit is contained in:
@@ -29,6 +29,9 @@ pub fn init_logger() {
|
||||
.init();
|
||||
}
|
||||
|
||||
/// Handles an error.
|
||||
/// This function must be as cheap and generic as possible and must remain sync.
|
||||
/// If expensive or long action is required, a task should be spawned but not joined.
|
||||
#[inline]
|
||||
pub fn handle_error<T>(error: T)
|
||||
where
|
||||
|
Reference in New Issue
Block a user