Skip to content

Commit 9f57fce

Browse files
committed
Ignore warnings and clippy lints
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 8545cdf commit 9f57fce

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

tendril/src/lib.rs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@
66

77
#![cfg_attr(all(test, feature = "bench"), feature(test))]
88
//#![cfg_attr(test, deny(warnings))]
9+
#![allow(unnecessary_transmutes)]
10+
#![allow(clippy::ptr_offset_with_cast)]
11+
#![allow(clippy::needless_lifetimes)]
12+
#![allow(clippy::needless_late_init)]
13+
#![allow(clippy::explicit_auto_deref)]
14+
#![allow(clippy::result_unit_err)]
15+
#![allow(clippy::op_ref)]
16+
#![allow(clippy::missing_safety_doc)]
17+
#![allow(clippy::missing_transmute_annotations)]
18+
#![allow(clippy::partialeq_ne_impl)]
19+
#![allow(clippy::legacy_numeric_constants)]
20+
#![allow(clippy::collapsible_if)]
21+
#![allow(clippy::wrong_self_convention)]
22+
#![allow(clippy::len_zero)]
23+
#![allow(clippy::transmute_bytes_to_str)]
24+
#![allow(clippy::match_like_matches_macro)]
25+
#![allow(clippy::redundant_static_lifetimes)]
26+
#![allow(clippy::redundant_field_names)]
27+
#![allow(clippy::unusual_byte_groupings)]
928

1029
#[macro_use]
1130
extern crate debug_unreachable;

tendril/src/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ mod test {
605605
#[cfg(any(feature = "encoding", feature = "encoding_rs"))]
606606
pub type Tests = &'static [(&'static [&'static [u8]], &'static str, usize)];
607607

608-
#[cfg(any(feature = "encoding"))]
608+
#[cfg(feature = "encoding")]
609609
const ASCII: Tests = &[
610610
(&[], "", 0),
611611
(&[b""], "", 0),

0 commit comments

Comments
 (0)