diff options
| author | Corey Farwell <coreyf@rwell.org> | 2018-11-20 09:34:15 -0500 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2018-11-20 09:35:03 -0500 |
| commit | 033cbfec4d3bb23948a99379f8d63b7cfe5eed45 (patch) | |
| tree | dafb092e141350a043f38234e513ff1de69cbee0 /src/librustc_codegen_ssa | |
| parent | 7a0cef74a8b859184b46d7ae6f7e01367fab5fb0 (diff) | |
| download | rust-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.rs | 2 |
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, |
