about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2018-11-20 09:34:15 -0500
committerCorey Farwell <coreyf@rwell.org>2018-11-20 09:35:03 -0500
commit033cbfec4d3bb23948a99379f8d63b7cfe5eed45 (patch)
treedafb092e141350a043f38234e513ff1de69cbee0 /src/librustc_codegen_ssa
parent7a0cef74a8b859184b46d7ae6f7e01367fab5fb0 (diff)
downloadrust-033cbfec4d3bb23948a99379f8d63b7cfe5eed45.tar.gz
rust-033cbfec4d3bb23948a99379f8d63b7cfe5eed45.zip
Incorporate `dyn` into more comments and docs.
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/meth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/meth.rs b/src/librustc_codegen_ssa/meth.rs
index 06c4f7a87d8..24be932141c 100644
--- a/src/librustc_codegen_ssa/meth.rs
+++ b/src/librustc_codegen_ssa/meth.rs
@@ -74,7 +74,7 @@ impl<'a, 'tcx: 'a> VirtualIndex {
 /// The vtables are cached instead of created on every call.
 ///
 /// The `trait_ref` encodes the erased self type. Hence if we are
-/// making an object `Foo<Trait>` from a value of type `Foo<T>`, then
+/// making an object `Foo<dyn Trait>` from a value of type `Foo<T>`, then
 /// `trait_ref` would map `T:Trait`.
 pub fn get_vtable<'tcx, Cx: CodegenMethods<'tcx>>(
     cx: &Cx,