about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-09-21 16:20:15 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-09-21 16:20:15 +0200
commitefbde853af6733e57dad7877c2c98401a9a704ed (patch)
tree5d5ae4c884eea9f6728b195b78dc4af29ebdcacc
parent8fd6d03e22fba2930ad377b87299de6a37076074 (diff)
downloadrust-efbde853af6733e57dad7877c2c98401a9a704ed.tar.gz
rust-efbde853af6733e57dad7877c2c98401a9a704ed.zip
Add doc aliases on Sized trait
-rw-r--r--library/core/src/marker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs
index b8239ed88ac..40a7b696193 100644
--- a/library/core/src/marker.rs
+++ b/library/core/src/marker.rs
@@ -81,6 +81,7 @@ impl<T: ?Sized> !Send for *mut T {}
 /// ```
 ///
 /// [trait object]: ../../book/ch17-02-trait-objects.html
+#[doc(alias = "?", alias = "?Sized")]
 #[stable(feature = "rust1", since = "1.0.0")]
 #[lang = "sized"]
 #[rustc_on_unimplemented(