Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Oct 6, 2020
1 parent 8d1b772 commit 9882d86
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tokio/src/util/linked_list.rs
Expand Up @@ -181,11 +181,7 @@ impl<L: Link> fmt::Debug for LinkedList<L, L::Target> {
}
}

#[cfg(any(
all(unix, feature = "process"),
feature = "signal",
feature = "sync",
))]
#[cfg(any(all(unix, feature = "process"), feature = "signal", feature = "sync"))]
impl<L: Link> LinkedList<L, L::Target> {
pub(crate) fn last(&self) -> Option<&L::Target> {
let tail = self.tail.as_ref()?;
Expand Down

0 comments on commit 9882d86

Please sign in to comment.