Skip to content

Commit 0709360

Browse files
authored
Separate SplitAt's bounds checking and overlap checking (#2473)
By doing so, dynamic overlap checking can be avoided entirely in many cases. Makes progress towards #1290.
1 parent 54fdd06 commit 0709360

File tree

9 files changed

+728
-128
lines changed

9 files changed

+728
-128
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ pub use crate::byte_slice::*;
358358
pub use crate::byteorder::*;
359359
pub use crate::error::*;
360360
pub use crate::r#ref::*;
361-
pub use crate::split_at::SplitAt;
361+
pub use crate::split_at::{Split, SplitAt};
362362
pub use crate::wrappers::*;
363363

364364
use core::{

0 commit comments

Comments
 (0)