From 3740b0064d20646e9aa484bac14076563cbf1032 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 7 Sep 2020 15:10:31 +0800 Subject: [PATCH] Add align to rustc-attrs unstable book --- src/doc/unstable-book/src/language-features/rustc-attrs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/unstable-book/src/language-features/rustc-attrs.md b/src/doc/unstable-book/src/language-features/rustc-attrs.md index 2967200faf8..a67e364ba3f 100644 --- a/src/doc/unstable-book/src/language-features/rustc-attrs.md +++ b/src/doc/unstable-book/src/language-features/rustc-attrs.md @@ -13,8 +13,8 @@ The `rustc_attrs` feature allows debugging rustc type layouts by using with `cargo check`) as an alternative to `rustc -Z print-type-sizes` that is way more verbose. -Options provided by `#[rustc_layout(...)]` are `debug`, `size`, `abi`. -Note that it only work best with sized type without generics. +Options provided by `#[rustc_layout(...)]` are `debug`, `size`, `align`, +`abi`. Note that it only work best with sized type without generics. ## Examples