about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKillTheMule <github@pipsfrank.de>2016-10-06 11:15:47 +0200
committerGitHub <noreply@github.com>2016-10-06 11:15:47 +0200
commit7f02eb387d490932d45fa82ae755bceced94a698 (patch)
treed76deb8b98e29a2294a385ab28cd5d6be9d4f3b2 /src
parent213063730183648cd84767f30503eb1697c6344b (diff)
downloadrust-7f02eb387d490932d45fa82ae755bceced94a698.tar.gz
rust-7f02eb387d490932d45fa82ae755bceced94a698.zip
Distinguish lifetimes and their annotations
Also, emphasize differently.
Diffstat (limited to 'src')
-rw-r--r--src/doc/book/lifetimes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md
index 9918c24e175..da73c0c9ea2 100644
--- a/src/doc/book/lifetimes.md
+++ b/src/doc/book/lifetimes.md
@@ -56,7 +56,7 @@ To fix this, we have to make sure that step four never happens after step
 three. The ownership system in Rust does this through a concept called
 lifetimes, which describe the scope that a reference is valid for.
 
-*Note* It's important to understand that lifetimes are _descriptive_ not _prescriptive_. This means that the lifetimes of references are determined by the code, not by the lifetime annotations. The annotations, however, point out the lifetimes to the compiler in case it can't figure them out by itself.
+**Note** It's important to understand that lifetime annotations are _descriptive_ not _prescriptive_. This means that the lifetimes of references are determined by the code, not by the annotations. The annotations, however, point out the lifetimes to the compiler in case it can't figure them out by itself.
 
 When we have a function that takes an argument by reference, we can be
 implicit or explicit about the lifetime of the reference: