@@ -240,7 +240,7 @@ impl Layout {
240240 ///
241241 /// Returns `Some((k, offset))`, where `k` is layout of the concatenated
242242 /// record and `offset` is the relative location, in bytes, of the
243- /// start of the `next` embedded witnin the concatenated record
243+ /// start of the `next` embedded within the concatenated record
244244 /// (assuming that the record itself starts at offset 0).
245245 ///
246246 /// On arithmetic overflow, returns `None`.
@@ -297,7 +297,7 @@ impl Layout {
297297 ///
298298 /// Returns `(k, offset)`, where `k` is layout of the concatenated
299299 /// record and `offset` is the relative location, in bytes, of the
300- /// start of the `next` embedded witnin the concatenated record
300+ /// start of the `next` embedded within the concatenated record
301301 /// (assuming that the record itself starts at offset 0).
302302 ///
303303 /// (The `offset` is always the same as `self.size()`; we use this
@@ -544,7 +544,7 @@ pub unsafe trait Alloc {
544544 /// practice this means implementors should eschew allocating,
545545 /// especially from `self` (directly or indirectly).
546546 ///
547- /// Implementions of the allocation and reallocation methods
547+ /// Implementations of the allocation and reallocation methods
548548 /// (e.g. `alloc`, `alloc_one`, `realloc`) are discouraged from
549549 /// panicking (or aborting) in the event of memory exhaustion;
550550 /// instead they should return an appropriate error from the
0 commit comments