Skip to content

Commit 01918ef

Browse files
committed
tsort: remove unused TsortError::IO variant
1 parent 21dc55c commit 01918ef

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/uu/tsort/src/tsort.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ enum TsortError {
148148
#[error("{input}: {message}", input = .0, message = translate!("tsort-error-loop"))]
149149
Loop(String),
150150

151-
/// Wrapper for bubbling up IO errors
152-
#[error("{0}")]
153-
IO(#[from] io::Error),
154151
/// Read error.
155152
#[error("{}", translate!("tsort-error-read", "error" => strip_errno(.0)))]
156153
Read(io::Error),

0 commit comments

Comments
 (0)