Skip to content

Commit 02ede98

Browse files
committed
remove unnecessary dead code markers
1 parent 877dedc commit 02ede98

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

cel/src/duration.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ use nom::number::complete::double;
88
use nom::IResult;
99

1010
// Constants representing time units in nanoseconds
11-
#[allow(dead_code)]
1211
const SECOND: u64 = 1_000_000_000;
13-
#[allow(dead_code)]
1412
const MILLISECOND: u64 = 1_000_000;
15-
#[allow(dead_code)]
1613
const MICROSECOND: u64 = 1_000;
1714

1815
/// Parses a duration string into a [`Duration`]. Duration strings support the

cel/src/parser/parser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ impl Display for ParseErrors {
6969

7070
impl Error for ParseErrors {}
7171

72-
#[allow(dead_code)]
7372
#[derive(Debug)]
7473
pub struct ParseError {
7574
pub source: Option<Box<dyn Error + Send + Sync + 'static>>,

0 commit comments

Comments
 (0)