Skip to content

Commit

Permalink
Rollup merge of rust-lang#97232 - tshepang:typo, r=Dylan-DPC
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
Dylan-DPC authored May 21, 2022
2 parents 89df2b2 + bb8a120 commit b7b5475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast/src/ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//!
//! * **Immutability**: `P<T>` disallows mutating its inner `T`, unlike `Box<T>`
//! (unless it contains an `Unsafe` interior, but that may be denied later).
//! This mainly prevents mistakes, but can also enforces a kind of "purity".
//! This mainly prevents mistakes, but also enforces a kind of "purity".
//!
//! * **Efficiency**: folding can reuse allocation space for `P<T>` and `Vec<T>`,
//! the latter even when the input and output types differ (as it would be the
Expand Down

0 comments on commit b7b5475

Please sign in to comment.