chore(clippy)

This commit is contained in:
Mathieu Trossevin 2024-01-12 09:53:38 +01:00
parent d6bd9242ca
commit 4e1266c877
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9

View file

@ -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,
}
}