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

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4af560e
Move zero-sized-vec-push test
poliorcetics Sep 14, 2020
85afbd8
Rebase conflicts
poliorcetics Oct 17, 2020
4fd06b9
Move vec-macro-repeat test
poliorcetics Oct 3, 2020
42271a5
Move vec swap test
poliorcetics Oct 3, 2020
1bdee96
Move subslice pattern tests to alloc/tests/slice.rs
poliorcetics Oct 3, 2020
20e032e
Make it more clear when complaining about async fn's return types
guswynn Sep 15, 2020
251f6da
(rustdoc) fix test for trait impl display
liketechnik Oct 25, 2020
e4d1096
Change as_str → to_string in proc_macro::Ident::span() docs
est31 Oct 28, 2020
300362e
Close the theme picker when Escape is pressed
notriddle Oct 30, 2020
ac3a434
Allow the theme picker to work with arrow keys
notriddle Oct 30, 2020
6918a17
Add aria roles for theme picker menu
notriddle Oct 30, 2020
90c7c63
Add comment describing the Escape key weirdness
notriddle Oct 30, 2020
17b8ca9
Pull theme picker keyboard code into main.js
notriddle Oct 30, 2020
5801109
Move Copy and Clone into the list of traits implemented for all sizes
est31 Nov 4, 2020
93fa023
Fix outdated comment next to array_impl_default
est31 Nov 4, 2020
bcd2f2d
fix a couple of clippy warnings:
matthiaskrgr Nov 4, 2020
69e5729
Simplify the implementation of `get_mut` (no unsafe)
danielhenrymantilla Nov 4, 2020
232b9ba
Move range in ui test to ops test in library/core
sasurau4 Nov 4, 2020
308dbdd
ci: bump actions/checkout to version 2
pietroalbini Nov 4, 2020
d8afe98
Clean up docs for 'as' keyword
camelid Oct 19, 2020
3084a55
Don't use `crate` in link text
camelid Nov 5, 2020
bbdb1f0
Clean up some intra-doc links
camelid Nov 5, 2020
677b2ac
Add missing comma
camelid Nov 5, 2020
873ebcb
Fixed typo in comment
eltociear Nov 5, 2020
30bb1f9
Rollup merge of #76718 - poliorcetics:vec-ui-to-unit-test, r=jyn514
JohnTitor Nov 5, 2020
dea29bd
Rollup merge of #76765 - guswynn:async_return, r=tmandry
JohnTitor Nov 5, 2020
d44e165
Rollup merge of #78093 - camelid:as-cleanup, r=jyn514
JohnTitor Nov 5, 2020
c961d75
Rollup merge of #78465 - est31:proc_macro_to_string, r=jyn514
JohnTitor Nov 5, 2020
82ba395
Rollup merge of #78584 - notriddle:master, r=GuillaumeGomez
JohnTitor Nov 5, 2020
c0318b6
Rollup merge of #78716 - est31:array_traits, r=Dylan-DPC
JohnTitor Nov 5, 2020
0878abd
Rollup merge of #78727 - liketechnik:issue-55201, r=GuillaumeGomez
JohnTitor Nov 5, 2020
08e60c6
Rollup merge of #78733 - matthiaskrgr:cl11ppy, r=jyn514
JohnTitor Nov 5, 2020
41d11a1
Rollup merge of #78735 - danielhenrymantilla:simplify-unsafecell-getm…
JohnTitor Nov 5, 2020
2d63234
Rollup merge of #78738 - sasurau4:test/move-range-test-to-library-cor…
JohnTitor Nov 5, 2020
b0d2f97
Rollup merge of #78754 - pietroalbini:checkout-v2, r=Mark-Simulacrum
JohnTitor Nov 5, 2020
a1e8894
Rollup merge of #78757 - camelid:crate-link-text, r=jyn514
JohnTitor Nov 5, 2020
652aea0
Rollup merge of #78758 - eltociear:patch-1, r=jyn514
JohnTitor Nov 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
Change as_str → to_string in proc_macro::Ident::span() docs
There is no `as_str` function on Ident any more.

Also change it to an intra doc link while we're at it.
  • Loading branch information
est31 committed Oct 29, 2020
commit e4d109613eb0c61ab528c9ff632c5807a259b505
2 changes: 1 addition & 1 deletion library/proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ impl Ident {
}

/// Returns the span of this `Ident`, encompassing the entire string returned
/// by `as_str`.
/// by [`to_string`](Self::to_string).
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
pub fn span(&self) -> Span {
Span(self.0.span())
Expand Down