These are chat archives for rust-lang/rust

9th
Jul 2017
the background of this video is ideal for Rust :)
samoylovfp
@samoylovfp
Jul 09 2017 12:13
@dwijnand thanks!
Arthur
@Biacode
Jul 09 2017 13:53
There is no way to display rust documentation in VS Code editor?
Abiola Ibrahim
@abiosoft
Jul 09 2017 16:09
I only had to hover to see the documentation
Maybe you need to set rust.rustLangSrcPath
Arthur
@Biacode
Jul 09 2017 16:25
even hover over does not work
where I should put rust.rustLangSrcPath?
found
Arthur
@Biacode
Jul 09 2017 16:31
@abiosoft nah, not exactly what I need. It just refers to the doc website.
For example in IntelliJ you're doing CTRL+Q and it displays documentation.
Jeshwanth Kumar N K
@Jeshwanth
Jul 09 2017 16:52
Hi, where can I find Rust impl examples.. difficult to follow up with existing document.
Arthur
@Biacode
Jul 09 2017 16:53
You mean something like https://rustbyexample.com/ ?
Jeshwanth Kumar N K
@Jeshwanth
Jul 09 2017 16:54
Yes, here also I have checked.. some more very basic stuff ? Kind of where no generics concepts used.
I am little uncomfortable with generics as of now ;). So, something very basic examples would be helpful. :)
Arthur
@Biacode
Jul 09 2017 16:55
hmm
I think this one is what you need.
Abiola Ibrahim
@abiosoft
Jul 09 2017 21:07
@Biacode I don't think vscode has that, it only shows doc on hover . On vim I have mapping for <leader> gd that does that.
stevensonmt
@stevensonmt
Jul 09 2017 21:16
Reading through TRPL section on traits. My understanding of that section is that a trait is a collection of method names that any struct implementing that trait has to have. The actual definition of the method(s) required by the trait can be unique for each struct. Is that right?
Abiola Ibrahim
@abiosoft
Jul 09 2017 21:47
How can I get rust to print this for the terminal to translate it properly. \033[3S. println! doesn't.