Skip to content

Commit 85dfd06

Browse files
Rollup merge of #97232 - tshepang:typo, r=Dylan-DPC
typo
2 parents 54e36ef + bb8a120 commit 85dfd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//!
1111
//! * **Immutability**: `P<T>` disallows mutating its inner `T`, unlike `Box<T>`
1212
//! (unless it contains an `Unsafe` interior, but that may be denied later).
13-
//! This mainly prevents mistakes, but can also enforces a kind of "purity".
13+
//! This mainly prevents mistakes, but also enforces a kind of "purity".
1414
//!
1515
//! * **Efficiency**: folding can reuse allocation space for `P<T>` and `Vec<T>`,
1616
//! the latter even when the input and output types differ (as it would be the

0 commit comments

Comments
 (0)