Skip to content

Commit af999c4

Browse files
committed
rust: alloc: fix unused import from_fn warning
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent b4a8689 commit af999c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/alloc/string.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ use core::char::{decode_utf16, REPLACEMENT_CHARACTER};
4949
use core::fmt;
5050
use core::hash;
5151
#[cfg(not(no_global_oom_handling))]
52-
use core::iter::FromIterator;
53-
use core::iter::{from_fn, FusedIterator};
52+
use core::iter::{from_fn, FromIterator};
53+
use core::iter::FusedIterator;
5454
#[cfg(not(no_global_oom_handling))]
5555
use core::ops::Add;
5656
#[cfg(not(no_global_oom_handling))]

0 commit comments

Comments
 (0)