]> git.lizzy.rs Git - rust.git/commitdiff
Accidental paste
authorOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>
Fri, 26 Jan 2018 15:29:37 +0000 (16:29 +0100)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Thu, 8 Mar 2018 07:34:12 +0000 (08:34 +0100)
src/librustc/ty/layout.rs

index b02f221bb8132cc2eec52ba9927754e420c7fe6f..382e99f26943f139885384def1685f1d0ed106a6 100644 (file)
@@ -952,7 +952,7 @@ fn layout_raw_uncached(self, ty: Ty<'tcx>)
         enum StructKind {
             /// A tuple, closure, or univariant which cannot be coerced to unsized.
             AlwaysSized,
-            /// A univariant, the last field of which fn compute_uncachedmay be coerced to unsized.
+            /// A univariant, the last field of which may be coerced to unsized.
             MaybeUnsized,
             /// A univariant, but with a prefix of an arbitrary size & alignment (e.g. enum tag).
             Prefixed(Size, Align),