Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g2p committed May 21, 2022
1 parent 01d2211 commit b9bbcc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion http-body-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
2 changes: 1 addition & 1 deletion http-body/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 http-body/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

0 comments on commit b9bbcc9

Please sign in to comment.