Skip to content

Commit 9e00fdf

Browse files
camelidJoshua Nelson
authored and
Joshua Nelson
committed
Add more info about Rustdoc
1 parent d145fcd commit 9e00fdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/contributing.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,10 @@ are:
490490
* The [Rust Compiler Testing Docs][rctd]
491491
* For [@bors], [this cheat sheet][cheatsheet] is helpful
492492
* **Google!** is always helpful when programming :)
493-
* [Search Rust documentation][stddocs] to find types, traits, etc. quickly
493+
* [Search Rust documentation][stddocs] to find types, traits, etc. quickly.
494+
You can also search by type signature! For example, searching for
495+
`* -> vec` should find all functions that return a `Vec<T>`. _Hint:_ Find
496+
more tips and keyboard shortcuts by typing `?` on any Rustdoc page!
494497
* Don't be afraid to ask! The Rust community is friendly and helpful.
495498

496499
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html

0 commit comments

Comments
 (0)