Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
91ee3d1
Stabilize `std::{rc,sync}::Weak::{weak_count, strong_count}`
Oct 24, 2019
0d0b283
Make Weak::weak_count() return zero when no strong refs remain
Nov 21, 2019
9badc33
Add str::strip_prefix and str::strip_suffix
SOF3 Nov 25, 2019
6ddcf50
Fix unstable attribute accidentally applying to the entire impl
SimonSapin Nov 26, 2019
2e2e0df
Improved comments to clarify sasumptions in str::strip_prefix
SOF3 Nov 26, 2019
392e5a7
Fix the tracking issue number for `PanicInfo::message`
SimonSapin Nov 26, 2019
eab1dc9
Stabilize the `core::panic` module
SimonSapin Nov 26, 2019
4718e20
Fixed formatting issues
SOF3 Nov 26, 2019
8cae411
stabilize Result::map_or
tesuji Nov 20, 2019
93438fd
make use of Result::map_or
tesuji Nov 25, 2019
9778e03
Bump Weak::strong_count/weak_count stabilizations from 1.40 to 1.41
dtolnay Dec 15, 2019
6176051
Set tracking issue for str_strip
SOF3 Dec 15, 2019
e28153e
fix doc comment
lcnr Dec 15, 2019
8a5969d
Fix repetition in matches/mod.rs
Centril Dec 15, 2019
2d96f20
cleanup with push_fake_read
Centril Dec 15, 2019
c34ea91
Rollup merge of #65778 - bdonlan:stable_weak_count, r=dtolnay
Centril Dec 16, 2019
84ef889
Rollup merge of #66570 - lzutao:stabilize-result-map_or, r=Dylan-DPC
Centril Dec 16, 2019
1c12dc8
Rollup merge of #66735 - SOF3:feature/str_strip, r=KodrAus
Centril Dec 16, 2019
6b9bb74
Rollup merge of #66771 - SimonSapin:panic-stability, r=KodrAus
Centril Dec 16, 2019
d182397
Rollup merge of #67317 - lcnr:type_name_docs, r=jonas-schievink
Centril Dec 16, 2019
9f0cb17
Rollup merge of #67324 - Centril:mir-build-match-doc-fix, r=matthewja…
Centril Dec 16, 2019
71a9a99
Rollup merge of #67325 - Centril:push-fake-read, r=matthewjasper
Centril Dec 16, 2019
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
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ pub const fn type_name<T: ?Sized>() -> &'static str {
///
/// This is intended for diagnostic use. The exact contents and format of the
/// string are not specified, other than being a best-effort description of the
/// type. For example, `type_name_of::<Option<String>>(None)` could return the
/// type. For example, `type_name_of::<Option<String>>(None)` could return
/// `"Option<String>"` or `"std::option::Option<std::string::String>"`, but not
/// `"foobar"`. In addition, the output may change between versions of the
/// compiler.
Expand Down