Skip to content
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

Str::slice_chars() is O(end), not O(end - begin) #12708

Merged
merged 1 commit into from
Mar 5, 2014

Conversation

SimonSapin
Copy link
Contributor

Feel free to reject this if I’m mistaken, but the count in the for loop does look like it’s going from 0 to end.

bors added a commit that referenced this pull request Mar 5, 2014
Feel free to reject this if I’m mistaken, but the `count` in the for loop does look like it’s going from 0 to `end`.
@bors bors closed this Mar 5, 2014
@bors bors merged commit c92cdad into rust-lang:master Mar 5, 2014
@SimonSapin SimonSapin deleted the patch-6 branch July 30, 2014 08:12
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 24, 2024
 Trigger [`string_slice`] if expression is reference to `&str`

Close rust-lang#12708
changelog: [`string_slice`]: trigger lint if expression is reference to `&str`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants