-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust 1.19 regression, split_by 0.2.0 #42465
Comments
This is caused by #41785. I think this should be considered acceptable breakage and fixed unless we see to many other cases, but I'd be okay with a revert decision as well. The diff below fixes this specific case for me. diff --git a/src/lib.rs b/src/lib.rs
index 132b5c8..3a3d321 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -103,7 +103,7 @@ impl<'a, R: Read, A: Automaton<&'a [u8]> > Iterator for SplitByIter<'a, R, A> {
/// second
/// ********########
/// third
-/// ################
+/// #################
/// last"#.split_by(&ac);
///
/// assert!(splits.next().unwrap().unwrap().as_slice() == b"first\n"); |
Hey guys, just to let you know... I'm a bit busy now, but will take care in couple of days. |
I just pushed version 0.2.1 to crates.io. |
Thanks @jsen- . Closing as acceptable breakage. |
https://github.com/jsen-/split_by
cc @jsen-
The text was updated successfully, but these errors were encountered: