Skip to content

Fix minor typo in std::str module docs #9726

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 5, 2013
Merged

Conversation

Valloric
Copy link
Contributor

@Valloric Valloric commented Oct 5, 2013

No description provided.

@bors bors closed this Oct 5, 2013
@bors bors merged commit d629aca into rust-lang:master Oct 5, 2013
@Valloric Valloric deleted the typo_fix branch January 12, 2015 00:29
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
[`use_self`] fix suggestion when full path to struct was given

Previously the following wrong suggestion was given

```rust
impl Error for std::fmt::Error {
    fn custom<T: std::fmt::Display>(_msg: T) -> Self {
-        std::fmt::Error // Should lint
+        Self::Error // Should lint
    }
}
```

Also remove known problem line related to rust-lang#4140 since it's been closed, and refactor the lint

changelog: [`use_self`] fix suggestion when full path to struct was given
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants