Skip to content

Commit bb8a120

Browse files
committed
typo
1 parent b5caa5a commit bb8a120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/ptr.rs

+1-1
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)