Skip to content

Commit eeae749

Browse files
committed
add unsafe_precondition to imports
1 parent e859439 commit eeae749

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/str/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use self::pattern::{DoubleEndedSearcher, Pattern, ReverseSearcher, Searcher};
1717
use crate::char::{self, EscapeDebugExtArgs};
1818
use crate::ops::Range;
1919
use crate::slice::{self, SliceIndex};
20+
use crate::ub_checks::assert_unsafe_precondition;
2021
use crate::{ascii, mem};
2122

2223
pub mod pattern;

0 commit comments

Comments
 (0)