Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Dec 16, 2021
1 parent d482ac3 commit e99f9e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@
//! check out the [recipes]!
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))]
#![cfg_attr(nightly, feature(test))]
#![cfg_attr(feature = "docsrs", feature(doc_cfg))]
#![cfg_attr(feature = "docsrs", feature(extended_key_value_attributes))]
#![deny(missing_docs)]
Expand All @@ -384,9 +383,6 @@ extern crate alloc;
#[cfg(doctest)]
extern crate doc_comment;

#[cfg(nightly)]
extern crate test;

#[cfg(doctest)]
doc_comment::doctest!("../README.md");

Expand Down
10 changes: 0 additions & 10 deletions src/multi/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,6 @@ fn many0_test() {
);
}

#[cfg(nightly)]
use test::Bencher;

#[cfg(nightly)]
#[bench]
fn many0_bench(b: &mut Bencher) {
named!(multi<&[u8],Vec<&[u8]> >, many0!(tag!("abcd")));
b.iter(|| multi(&b"abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"[..]));
}

#[test]
#[cfg(feature = "alloc")]
fn many1_test() {
Expand Down

0 comments on commit e99f9e0

Please sign in to comment.