-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 4 pull requests #57982
Rollup of 4 pull requests #57982
Commits on Dec 26, 2018
-
mark str::string::String.trim.* functions as #[must_use].
The functions return a reference to a new object and do not modify in-place as the following code shows: ```` let s = String::from(" hello "); s.trim(); assert_eq!(s, " hello "); ```` The new reference should be bound to a variable as now indicated by #[must_use].
Configuration menu - View commit details
-
Copy full SHA for 809a1a8 - Browse repository at this point
Copy the full SHA 809a1a8View commit details -
Update src/libcore/str/mod.rs, tweak must_use message
trimmed string is returned as a slice instead of a new allocation Co-Authored-By: matthiaskrgr <matthias.krueger@famsik.de>
Configuration menu - View commit details
-
Copy full SHA for e7ce868 - Browse repository at this point
Copy the full SHA e7ce868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e9057 - Browse repository at this point
Copy the full SHA 74e9057View commit details
Commits on Jan 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8db66ca - Browse repository at this point
Copy the full SHA 8db66caView commit details
Commits on Jan 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1e57726 - Browse repository at this point
Copy the full SHA 1e57726View commit details
Commits on Jan 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7e22cb2 - Browse repository at this point
Copy the full SHA 7e22cb2View commit details
Commits on Jan 30, 2019
-
Rollup merge of rust-lang#57106 - matthiaskrgr:trim_must_use, r=sfackler
mark str::string::String.trim.* functions as #[must_use]. The functions return a reference to a new object and do not modify in-place as the following code shows: ```` let s = String::from(" hello "); s.trim(); assert_eq!(s, " hello "); ```` The new reference should be bound to a variable as now indicated by #[must_use].
Configuration menu - View commit details
-
Copy full SHA for b93cbfe - Browse repository at this point
Copy the full SHA b93cbfeView commit details -
Rollup merge of rust-lang#57920 - euclio:source-date-epoch, r=Mark-Si…
…mulacrum use `SOURCE_DATE_EPOCH` for man page time if set Fixes rust-lang#57776.
Configuration menu - View commit details
-
Copy full SHA for 9f04c18 - Browse repository at this point
Copy the full SHA 9f04c18View commit details -
Rollup merge of rust-lang#57934 - dwijnand:from-Arc/Rc-to-NonNull, r=…
…alexcrichton Introduce into_raw_non_null on Rc and Arc None
Configuration menu - View commit details
-
Copy full SHA for 89f74ac - Browse repository at this point
Copy the full SHA 89f74acView commit details -
Rollup merge of rust-lang#57974 - llogiq:vec-deque-try-fold, r=alexcr…
…ichton override `VecDeque`'s `Iter::try_fold` This should improve performance (wherever it is used), but I haven't found the time to benchmark it yet.
Configuration menu - View commit details
-
Copy full SHA for 47e0812 - Browse repository at this point
Copy the full SHA 47e0812View commit details