Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g2p committed Feb 23, 2022
1 parent 3c09567 commit e7a3de8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -3,7 +3,7 @@
missing_debug_implementations,
missing_docs,
unreachable_pub,
broken_intra_doc_links
rustdoc::broken_intra_doc_links
)]
#![cfg_attr(test, deny(warnings))]

Expand Down
5 changes: 2 additions & 3 deletions tests/is_end_stream.rs
Expand Up @@ -70,9 +70,8 @@ fn is_end_stream_default_false() {
size_hint: SizeHint::default(),
};

assert_eq!(
false,
Pin::new(&mut mock).is_end_stream(),
assert!(
!Pin::new(&mut mock).is_end_stream(),
"size_hint = {:?}",
mock.size_hint.clone()
);
Expand Down
2 changes: 1 addition & 1 deletion util/src/lib.rs
Expand Up @@ -2,7 +2,7 @@
missing_debug_implementations,
missing_docs,
unreachable_pub,
broken_intra_doc_links
rustdoc::broken_intra_doc_links
)]
#![cfg_attr(test, deny(warnings))]

Expand Down

0 comments on commit e7a3de8

Please sign in to comment.