From 918485eb16a5964b6f6e075e3881fe58298a8740 Mon Sep 17 00:00:00 2001 From: BennyYip Date: Mon, 4 Dec 2017 12:13:00 +0800 Subject: [PATCH] Remove note in repr-rust.md --- src/repr-rust.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/repr-rust.md b/src/repr-rust.md index 8507e73..a903466 100644 --- a/src/repr-rust.md +++ b/src/repr-rust.md @@ -110,11 +110,6 @@ struct Foo { The latter case quite simply wastes space. An optimal use of space therefore requires different monomorphizations to have *different field orderings*. -**Note: this is a hypothetical optimization that is not yet implemented in Rust -1.0** - -**Update: this is already implemented in Rust 1.18** - Enums make this consideration even more complicated. Naively, an enum such as: ```rust