all: address clippy lints
This commit is contained in:
parent
e5fd0fa192
commit
9e67158f47
29 changed files with 31 additions and 68 deletions
|
|
@ -1,7 +1,6 @@
|
|||
pub mod client;
|
||||
pub mod ipc;
|
||||
mod logging;
|
||||
pub(crate) mod string_error;
|
||||
|
||||
use {
|
||||
crate::{
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
use std::{
|
||||
error::Error,
|
||||
fmt::{Display, Formatter},
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct StringError(pub String);
|
||||
|
||||
impl Display for StringError {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(&self.0)
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for StringError {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue