Skip to content

Commit

Permalink
chore: fix unused warning for LinkedList::last on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Oct 12, 2020
1 parent 684a9f9 commit ded3611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/util/linked_list.rs
Expand Up @@ -184,9 +184,9 @@ impl<L: Link> fmt::Debug for LinkedList<L, L::Target> {

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

0 comments on commit ded3611

Please sign in to comment.