]> git.lizzy.rs Git - rust.git/commitdiff
docs: Highlight a keyword
authorTang Chenglong <ideami@outlook.com>
Thu, 21 Apr 2016 01:53:30 +0000 (09:53 +0800)
committerTang Chenglong <ideami@outlook.com>
Thu, 21 Apr 2016 01:53:30 +0000 (09:53 +0800)
src/doc/book/const-and-static.md

index 08ff3894c9db57fcb4d7e062a76f30532952c20d..11aa25ac811c919dbafd09b526408fe9bf7aad4b 100644 (file)
@@ -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.