Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yag000 committed Dec 23, 2023
1 parent 47de4f6 commit 4487eb8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ impl Display for FileError {
}
}

impl From<String> for FileError {
fn from(message: String) -> Self {
FileError { message }
}
}
impl From<&str> for FileError {
fn from(message: &str) -> Self {
FileError {
message: message.to_owned(),
}
}
}

#[derive(Error, Debug)]
pub struct ExecError {
pub message: String,
Expand Down

0 comments on commit 4487eb8

Please sign in to comment.