Skip to content

Add an implementation of FromStr for ~str and @str #9681

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

Merged
merged 1 commit into from
Oct 3, 2013

Conversation

skade
Copy link
Contributor

@skade skade commented Oct 2, 2013

This fixes an issue for APIs that return FromStr. Before this change,
they would have to offer a seperate function for returning the source
string.

This fixes an issue for APIs that return FromStr. Before this change,
they would have to offer a seperate function for returning the source
string.
bors added a commit that referenced this pull request Oct 3, 2013
This fixes an issue for APIs that return FromStr. Before this change,
they would have to offer a seperate function for returning the source
string.
@bors bors closed this Oct 3, 2013
@bors bors merged commit 4dc3ff9 into rust-lang:master Oct 3, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
…t, r=giraffate

feat: add new lint `seek_from_current`

changelog: `seek_from_current`: new lint to suggest using `stream_position` instead of seek from current position with `SeekFrom::Current(0)`

addresses rust-lang/rust-clippy#7886.

This PR is related to rust-lang/rust-clippy#9667, so I will update `methods/mod.rs` if it get conflicted.
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.

4 participants