Skip to content

Commit ac7d38c

Browse files
committed
Separate SplitAt's bounds checking and overlap checking
By doing so, dynamic overlap checking can be avoided entirely in many cases. Makes progress towards #1290.
1 parent 7fdec6f commit ac7d38c

File tree

5 files changed

+706
-119
lines changed

5 files changed

+706
-119
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)