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

core::str - making StrSlice trait functions pure #3709

Merged
merged 1 commit into from
Oct 10, 2012

Conversation

dbp
Copy link
Contributor

@dbp dbp commented Oct 10, 2012

The functions that these correspond to are pure, but they aren't. This means that there are places where you can't do s.foo(), but can do str::foo(s), which seems wrong.

catamorphism added a commit that referenced this pull request Oct 10, 2012
core::str - making StrSlice trait functions pure
@catamorphism catamorphism merged commit 3e0dcd4 into rust-lang:incoming Oct 10, 2012
@catamorphism
Copy link
Contributor

Thanks!

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2024
clarify the warning shown when optimizations are enabled, and the status of Tree Borrows
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.

2 participants