Skip to content

Commit 421a70d

Browse files
committed
Fix unused imports
warning: unused imports: `parse_concise_float`, `parse_truncated_float` --> tests/../src/lexical/mod.rs:38:23 | 38 | pub use self::parse::{parse_concise_float, parse_truncated_float}; | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::vec::Vec` --> tests/lexical.rs:30:13 | 30 | pub use std::vec::Vec; | ^^^^^^^^^^^^^ warning: unused imports: `cmp`, `iter`, `mem`, `ops` --> tests/lexical.rs:31:19 | 31 | pub use std::{cmp, iter, mem, ops}; | ^^^ ^^^^ ^^^ ^^^
1 parent 39f5ad1 commit 421a70d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

tests/lexical.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ extern crate alloc;
2626
#[path = "../src/lexical/mod.rs"]
2727
mod lexical;
2828

29-
mod lib {
30-
pub use std::vec::Vec;
31-
pub use std::{cmp, iter, mem, ops};
32-
}
33-
3429
#[path = "lexical/algorithm.rs"]
3530
mod algorithm;
3631

tests/lexical/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Adapted from https://github.com/Alexhuszagh/rust-lexical.
22

33
use crate::lexical::num::Float;
4-
use crate::lexical::parse::{parse_concise_float, parse_truncated_float};
4+
use crate::lexical::{parse_concise_float, parse_truncated_float};
55
use core::f64;
66
use core::fmt::Debug;
77

0 commit comments

Comments
 (0)