mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
clarify comment and add autolink test case
This commit is contained in:
parent
96ff235770
commit
5107123f9a
2 changed files with 3 additions and 1 deletions
|
@ -3808,6 +3808,7 @@ fn foo() {
|
|||
/// [closure]
|
||||
/// [closures][closure]
|
||||
/// [threads]
|
||||
/// <https://doc.rust-lang.org/nightly/book/ch13-01-closures.html>
|
||||
///
|
||||
/// [closure]: ../book/ch13-01-closures.html
|
||||
/// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads
|
||||
|
@ -3825,6 +3826,7 @@ mod move_keyword {}
|
|||
[closure](https://doc.rust-lang.org/nightly/book/ch13-01-closures.html)
|
||||
[closures](https://doc.rust-lang.org/nightly/book/ch13-01-closures.html)
|
||||
[threads](https://doc.rust-lang.org/nightly/book/ch16-01-threads.html#using-move-closures-with-threads)
|
||||
<https://doc.rust-lang.org/nightly/book/ch13-01-closures.html>
|
||||
"##]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue