about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-20 09:15:01 +0100
committerGitHub <noreply@github.com>2022-03-20 09:15:01 +0100
commit9725caf9e9303d96f4e0ef40e69b4d16bec7bf5a (patch)
tree952233740dd64f26bec70a5b55f1671170e6da37 /compiler/rustc_codegen_gcc/example/std_example.rs
parent355d87807fe68426bf525971bc9fdadc63c6c796 (diff)
parentedee46e257ec4aa6d6a78ac4f061cd525ef231f9 (diff)
downloadrust-9725caf9e9303d96f4e0ef40e69b4d16bec7bf5a.tar.gz
rust-9725caf9e9303d96f4e0ef40e69b4d16bec7bf5a.zip
Rollup merge of #95110 - wmstack:patch-1, r=Dylan-DPC
Provide more useful documentation of conversion methods

I thought that the documentation for these methods needed to be a bit more explanatory for new users. For advanced users, the comments are relatively unnecessary. I think it would be useful to explain precisely what the method does. As a new user, when you see the `into` method, where the type is inferred, if you are new you don't even know what you convert to, because it is implicit. I believe this can help new users understand.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions