Skip to content

Commit 09df83b

Browse files
committed
Fix some typos in Nomicon
1 parent 0d03d51 commit 09df83b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/nomicon/dropck.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ is that some Drop implementations will not access borrowed data even
125125
though their type gives them the capability for such access.
126126

127127
For example, this variant of the above `Inspector` example will never
128-
accessed borrowed data:
128+
access borrowed data:
129129

130130
```rust,ignore
131131
struct Inspector<'a>(&'a u8, &'static str);

src/doc/nomicon/unbounded-lifetimes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lifetime can be regarded as `'static`.
1111

1212
Almost no reference is `'static`, so this is probably wrong. `transmute` and
1313
`transmute_copy` are the two other primary offenders. One should endeavor to
14-
bound an unbounded lifetime as quick as possible, especially across function
14+
bound an unbounded lifetime as quickly as possible, especially across function
1515
boundaries.
1616

1717
Given a function, any output lifetimes that don't derive from inputs are

0 commit comments

Comments
 (0)