about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-11-25 17:05:03 +0100
committerGitHub <noreply@github.com>2018-11-25 17:05:03 +0100
commit6398df1520638c68bb75daa33d64c75387c26b1f (patch)
tree1408ff0aafcbd3ef385353f2ee61048b6dd242d2 /src/libcore
parent45e5a856a6551ae1b77fe8c5585e80f886b44b6e (diff)
parentebb1a48b415c1b586bb652d58f3d2078d87f44dd (diff)
Rollup merge of #56101 - frewsxcv:frewsxcv-dyn, r=steveklabnik
Incorporate `dyn` into more comments and docs.

r? @rust-lang/docs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/raw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs
index 495b9afe860..3d4bccb4f9d 100644
--- a/src/libcore/raw.rs
+++ b/src/libcore/raw.rs
@@ -21,7 +21,7 @@
 /// The representation of a trait object like `&SomeTrait`.
 ///
 /// This struct has the same layout as types like `&SomeTrait` and
-/// `Box<AnotherTrait>`.
+/// `Box<dyn AnotherTrait>`.
 ///
 /// `TraitObject` is guaranteed to match layouts, but it is not the
 /// type of trait objects (e.g. the fields are not directly accessible