X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fcore%2Fsrc%2Falloc%2Flayout.rs;h=8b95b70396bbd8f99d7fa430cf15fc29f1607642;hb=f7febc8865a2cb2287b034f6588d7617fa0fc6e9;hp=9dc3f05dae5ace8d24419088852b0d16f8c64646;hpb=8e51bd4315bad8456c6cabbfc338be97c17f3700;p=rust.git diff --git a/library/core/src/alloc/layout.rs b/library/core/src/alloc/layout.rs index 9dc3f05dae5..8b95b70396b 100644 --- a/library/core/src/alloc/layout.rs +++ b/library/core/src/alloc/layout.rs @@ -164,7 +164,6 @@ pub fn for_value(t: &T) -> Self { /// [`Layout::for_value`] on a reference to an extern type tail. /// - otherwise, it is conservatively not allowed to call this function. /// - /// [slice]: ../../std/primitive.slice.html /// [trait object]: ../../book/ch17-02-trait-objects.html /// [extern type]: ../../unstable-book/language-features/extern-types.html #[unstable(feature = "layout_for_ptr", issue = "69835")]