Enable more lints
This commit is contained in:
parent
3f73578fc9
commit
da0e5f7373
12 changed files with 17 additions and 12 deletions
|
|
@ -82,7 +82,7 @@ impl OperationOutput for SyncServerError {
|
|||
type Inner = Self;
|
||||
}
|
||||
|
||||
pub fn init_error(error: anyhow::Error) -> SyncServerError { SyncServerError::InitError(error) }
|
||||
pub const fn init_error(error: anyhow::Error) -> SyncServerError { SyncServerError::InitError(error) }
|
||||
|
||||
pub fn server_error(error: anyhow::Error) -> SyncServerError {
|
||||
warn!("Server error: {:?}", error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue