Philipp Schuster пре 1 година
родитељ
комит
60411207cb
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      multiboot2/src/builder/boxed_dst.rs
  2. 1 1
      multiboot2/src/builder/mod.rs
  3. 1 1
      multiboot2/src/tag_trait.rs

+ 1 - 1
multiboot2/src/builder/boxed_dst.rs

@@ -12,7 +12,7 @@ use core::ptr::NonNull;
 /// builder. This is tricky in Rust. This type behaves similar to the regular
 /// `Box` type except that it ensure the same layout is used for the (explicit)
 /// allocation and the (implicit) deallocation of memory. Otherwise, I didn't
-/// found any way to figure out the right layout for a DST. Miri always reported
+/// find any way to figure out the right layout for a DST. Miri always reported
 /// issues that the deallocation used a wrong layout.
 ///
 /// Technically, I'm certain this code is memory safe. But with this type, I

+ 1 - 1
multiboot2/src/builder/mod.rs

@@ -3,7 +3,7 @@
 mod boxed_dst;
 mod information;
 
-// This must by public to support external people to create boxed DSTs.
+// This must be public to support external people to create boxed DSTs.
 pub use boxed_dst::BoxedDst;
 pub use information::InformationBuilder;
 

+ 1 - 1
multiboot2/src/tag_trait.rs

@@ -5,7 +5,7 @@ use ptr_meta::Pointee;
 
 /// A trait to abstract over all sized and unsized tags (DSTs). For sized tags,
 /// this trait does not much. For DSTs, a [`TagTrait::dst_size`] implementation
-/// must me provided, which returns the right size hint for the dynamically
+/// must be provided, which returns the right size hint for the dynamically
 /// sized portion of the struct.
 ///
 /// # Trivia