mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Auto merge of #33120 - tclfs:patch-2, r=Manishearth
docs: Highlight a keyword
This commit is contained in:
commit
253b7c1e1a
@ -79,5 +79,5 @@ the result of a function call or anything similarly complex or at runtime.
|
||||
|
||||
Almost always, if you can choose between the two, choose `const`. It’s pretty
|
||||
rare that you actually want a memory location associated with your constant,
|
||||
and using a const allows for optimizations like constant propagation not only
|
||||
and using a `const` allows for optimizations like constant propagation not only
|
||||
in your crate but downstream crates.
|
||||
|
Loading…
Reference in New Issue
Block a user