Skip to content

Commit 8cd2374

Browse files
committed
Rollup merge of #30439 - swooster:swooster-nomicon-patch-1, r=steveklabnik
The Rustonomicon's Lifetimes chapter uses the idiom "big ask", which is obscure compared to "tall order" (check [Google ngrams](https://books.google.com/ngrams/graph?content=big+ask%2C+tall+order&year_start=1800)). Also, it's easily mistaken for a typo; either "a big task" or "a big thing to ask" could plausibly work there. r? @steveklabnik
2 parents 6565bc2 + fc86218 commit 8cd2374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/nomicon/lifetimes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ This signature of `as_str` takes a reference to a u32 with *some* lifetime, and
107107
promises that it can produce a reference to a str that can live *just as long*.
108108
Already we can see why this signature might be trouble. That basically implies
109109
that we're going to find a str somewhere in the scope the reference
110-
to the u32 originated in, or somewhere *even earlier*. That's a bit of a big
111-
ask.
110+
to the u32 originated in, or somewhere *even earlier*. That's a bit of a tall
111+
order.
112112

113113
We then proceed to compute the string `s`, and return a reference to it. Since
114114
the contract of our function says the reference must outlive `'a`, that's the

0 commit comments

Comments
 (0)