File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use core::ptr::NonNull;
1212/// builder. This is tricky in Rust. This type behaves similar to the regular
1313/// `Box` type except that it ensure the same layout is used for the (explicit)
1414/// allocation and the (implicit) deallocation of memory. Otherwise, I didn't
15- /// found any way to figure out the right layout for a DST. Miri always reported
15+ /// find any way to figure out the right layout for a DST. Miri always reported
1616/// issues that the deallocation used a wrong layout.
1717///
1818/// Technically, I'm certain this code is memory safe. But with this type, I
Original file line number Diff line number Diff line change 33mod boxed_dst;
44mod information;
55
6- // This must by public to support external people to create boxed DSTs.
6+ // This must be public to support external people to create boxed DSTs.
77pub use boxed_dst:: BoxedDst ;
88pub use information:: InformationBuilder ;
99
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use ptr_meta::Pointee;
55
66/// A trait to abstract over all sized and unsized tags (DSTs). For sized tags,
77/// this trait does not much. For DSTs, a [`TagTrait::dst_size`] implementation
8- /// must me provided, which returns the right size hint for the dynamically
8+ /// must be provided, which returns the right size hint for the dynamically
99/// sized portion of the struct.
1010///
1111/// # Trivia
You can’t perform that action at this time.
0 commit comments