mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-28 02:54:31 +00:00
Allow deadcode for logs
This commit is contained in:
parent
0d1235b742
commit
48582f93df
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ pub type ResponseError = StatusCode;
|
|||
pub type Response<T> = Result<T, ResponseError>;
|
||||
|
||||
/// Trait to easily [`log`] function outcomes.
|
||||
#[allow(dead_code)]
|
||||
pub(crate) trait LoggableOutcome {
|
||||
fn log_err_to_trace(self, msg: &str) -> Self;
|
||||
fn log_err_to_debug(self, msg: &str) -> Self;
|
||||
|
|
Loading…
Reference in a new issue