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

Rollup of 8 pull requests #69746

Merged
merged 27 commits into from
Mar 6, 2020
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c745b4a
Add explanation for E0380
GuillaumeGomez Mar 4, 2020
6db7e34
use integer assoc consts instead of methods
RalfJung Mar 4, 2020
f0c3cf2
cover some more nearby cases
RalfJung Mar 4, 2020
729d49d
Update macros.rs: fix documentation typo.
fables-tales Mar 4, 2020
07168f9
Don't use .ok() before unwrapping via .expect() on a Result.
matthiaskrgr Mar 4, 2020
569676b
Use .map() to modify data inside Options instead of using .and_then(|…
matthiaskrgr Mar 4, 2020
38f5db7
Use .as_deref() instead of .as_ref().map(Deref::deref) (clippy::optio…
matthiaskrgr Mar 4, 2020
d8d2004
Don't use "if let" bindings to only check a value and not actually bi…
matthiaskrgr Mar 4, 2020
80ed505
Use single-char patter on {ends,starts}_with and remove clone on copy…
matthiaskrgr Mar 4, 2020
6ed4829
Make link to `std::str` active
LeSeulArtichaut Mar 5, 2020
6b28a8c
Clean E0382 and E0384 explanations
GuillaumeGomez Mar 5, 2020
edd3e17
Remove redundant patterns when matching ( x @ _ to x) (clippy::redu…
matthiaskrgr Mar 5, 2020
c2bbe33
Const items have by default a static lifetime, there's no need to ann…
matthiaskrgr Mar 5, 2020
3e70c8e
Use simple 'for i in x' loops instead of 'while let Some(x) = x.next(…
matthiaskrgr Mar 5, 2020
3fc5c11
Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg)
matthiaskrgr Mar 5, 2020
a1c3eb6
Don't always eval arguments inside .expect(), use unwrap_or_else and …
matthiaskrgr Mar 5, 2020
8ba92d9
Use more efficient &&str to String conversion (clippy::inefficient_to…
matthiaskrgr Mar 5, 2020
84577c8
Don't pass &mut where immutable reference (&) is sufficient (clippy::…
matthiaskrgr Mar 5, 2020
79bc934
Fixed a typo
TrolledWoods Mar 5, 2020
e01dc83
Rollup merge of #69697 - GuillaumeGomez:explanation-e0380, r=Dylan-DPC
Dylan-DPC Mar 5, 2020
44f184a
Rollup merge of #69698 - RalfJung:int_assoc, r=davidtwco
Dylan-DPC Mar 5, 2020
1896266
Rollup merge of #69711 - penelopezone:patch-1, r=steveklabnik
Dylan-DPC Mar 5, 2020
22a743b
Rollup merge of #69713 - matthiaskrgr:more_cleanup, r=cramertj
Dylan-DPC Mar 5, 2020
7aac135
Rollup merge of #69728 - LeSeulArtichaut:patch-1, r=steveklabnik
Dylan-DPC Mar 5, 2020
558115b
Rollup merge of #69732 - GuillaumeGomez:cleanup-e0382-e0384, r=Dylan-DPC
Dylan-DPC Mar 5, 2020
67d735c
Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC
Dylan-DPC Mar 5, 2020
80c8434
Rollup merge of #69742 - TrolledWoods:patch-1, r=jonas-schievink
Dylan-DPC Mar 5, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make link to std::str active
LeSeulArtichaut authored Mar 5, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 6ed4829c17bb3bf627fa09b5c15be7e47610acf8
4 changes: 3 additions & 1 deletion src/libcore/str/mod.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,9 @@

//! String manipulation.
//!
//! For more details, see the `std::str` module.
//! For more details, see the [`std::str`] module.
//!
//! [`std::str`]: ../../std/str/index.html

#![stable(feature = "rust1", since = "1.0.0")]