]> git.lizzy.rs Git - rust.git/commitdiff
Change "result" to "resulting" in `Layout::extend`'s docs
authorMatthew Kraai <kraai@ftbfs.org>
Fri, 6 Dec 2019 17:08:25 +0000 (09:08 -0800)
committerMatthew Kraai <kraai@ftbfs.org>
Sun, 8 Dec 2019 13:21:27 +0000 (08:21 -0500)
src/libcore/alloc.rs

index 20248f7f6c13e374e471f423a37b48ef14556f24..7d69d2846038b081339555409583d81e1cd23f6b 100644 (file)
@@ -253,7 +253,7 @@ pub fn repeat(&self, n: usize) -> Result<(Self, usize), LayoutErr> {
 
     /// Creates a layout describing the record for `self` followed by
     /// `next`, including any necessary padding to ensure that `next`
-    /// will be properly aligned. Note that the result layout will
+    /// will be properly aligned. Note that the resulting layout will
     /// satisfy the alignment properties of both `self` and `next`.
     ///
     /// The resulting layout will be the same as that of a C struct containing