Fix comment wording.

This commit is contained in:
Scott Olson 2016-09-11 03:06:44 -06:00
parent 5ac138c61f
commit db7d842fb3

View file

@ -9,8 +9,8 @@ use memory::Pointer;
use super::terminator::{get_impl_method, ImplMethod};
impl<'a, 'tcx> EvalContext<'a, 'tcx> {
/// Creates a returns a dynamic vtable for the given type and vtable origin.
/// This is used only for objects.
/// Creates a dynamic vtable for the given type and vtable origin. This is used only for
/// objects.
///
/// 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