about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-01-26 16:29:37 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2018-03-08 08:34:12 +0100
commit4fbf1199ef5c7340c6b7aa0424beeee4ab88d0c7 (patch)
treec63fb03cabe76cffcff873ec9cc0be82bb077738
parentf8602ac12c08372cb9d6bac01ed151877063ad67 (diff)
downloadrust-4fbf1199ef5c7340c6b7aa0424beeee4ab88d0c7.tar.gz
rust-4fbf1199ef5c7340c6b7aa0424beeee4ab88d0c7.zip
Accidental paste
-rw-r--r--src/librustc/ty/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/layout.rs b/src/librustc/ty/layout.rs
index b02f221bb81..382e99f2694 100644
--- a/src/librustc/ty/layout.rs
+++ b/src/librustc/ty/layout.rs
@@ -952,7 +952,7 @@ impl<'a, 'tcx> LayoutCx<'tcx, TyCtxt<'a, 'tcx, '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),