From 4fbf1199ef5c7340c6b7aa0424beeee4ab88d0c7 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 26 Jan 2018 16:29:37 +0100 Subject: [PATCH] Accidental paste --- src/librustc/ty/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/ty/layout.rs b/src/librustc/ty/layout.rs index b02f221bb813..382e99f26943 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),