chore(clippy)
This commit is contained in:
parent
d6bd9242ca
commit
4e1266c877
|
@ -154,8 +154,7 @@ impl Error for BarrierError {
|
|||
fn source(&self) -> Option<&(dyn Error + 'static)> {
|
||||
match self {
|
||||
Self::Notify(source) => Some(source),
|
||||
Self::FailedPipeCreation(source) => Some(source),
|
||||
Self::FailedPolling(source) => Some(source),
|
||||
Self::FailedPipeCreation(source) | Self::FailedPolling(source) => Some(source),
|
||||
Self::TimedOut => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue