diff options
| author | Steve Wooster <swooster@users.noreply.github.com> | 2015-12-17 09:40:02 -0800 |
|---|---|---|
| committer | Steve Wooster <swooster@users.noreply.github.com> | 2015-12-17 09:40:02 -0800 |
| commit | fc862182c9b63ca550f1965180bc410220652ec7 (patch) | |
| tree | 09443cbd1706dfbc01d97a8c2519ee60ab6ae9b7 /src | |
| parent | 4af427881405f95b8d87efea844cbd695fb55986 (diff) | |
| download | rust-fc862182c9b63ca550f1965180bc410220652ec7.tar.gz rust-fc862182c9b63ca550f1965180bc410220652ec7.zip | |
Change "big ask" to "tall order" in Rustonomicon.
The Rustonomicon's Lifetimes chapter uses the idiom "big ask", which is obscure compared to "tall order" (check Google ngrams). Also, it's easily mistaken for a typo; either "a big task" or "a big thing to ask" could plausibly work there.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/nomicon/lifetimes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/nomicon/lifetimes.md b/src/doc/nomicon/lifetimes.md index e21207efdcf..45eb68baeb7 100644 --- a/src/doc/nomicon/lifetimes.md +++ b/src/doc/nomicon/lifetimes.md @@ -107,8 +107,8 @@ This signature of `as_str` takes a reference to a u32 with *some* lifetime, and promises that it can produce a reference to a str that can live *just as long*. Already we can see why this signature might be trouble. That basically implies that we're going to find a str somewhere in the scope the reference -to the u32 originated in, or somewhere *even earlier*. That's a bit of a big -ask. +to the u32 originated in, or somewhere *even earlier*. That's a bit of a tall +order. We then proceed to compute the string `s`, and return a reference to it. Since the contract of our function says the reference must outlive `'a`, that's the |
