Skip to content

Commit db7d842

Browse files
committed
Fix comment wording.
1 parent 5ac138c commit db7d842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interpreter/vtable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use memory::Pointer;
99
use super::terminator::{get_impl_method, ImplMethod};
1010

1111
impl<'a, 'tcx> EvalContext<'a, 'tcx> {
12-
/// Creates a returns a dynamic vtable for the given type and vtable origin.
13-
/// This is used only for objects.
12+
/// Creates a dynamic vtable for the given type and vtable origin. This is used only for
13+
/// objects.
1414
///
1515
/// The `trait_ref` encodes the erased self type. Hence if we are
1616
/// making an object `Foo<Trait>` from a value of type `Foo<T>`, then

0 commit comments

Comments
 (0)