Skip to content

Commit 8d50b7b

Browse files
committed
Added more documentation for vtable_for
1 parent 41da55a commit 8d50b7b

File tree

1 file changed

+1
-2
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-2
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2754,8 +2754,7 @@ pub unsafe fn vtable_size(ptr: *const ()) -> usize;
27542754
#[rustc_intrinsic]
27552755
pub unsafe fn vtable_align(ptr: *const ()) -> usize;
27562756

2757-
/// FIXME: write actual docs (ivarflakstad)
2758-
/// The intrinsic will return the vtable of `t` through the lens of `U`.
2757+
/// The intrinsic returns the vtable of `T` through the lens of `U`.
27592758
///
27602759
/// # Compile-time failures
27612760
/// Determining whether `T` implements `U` requires trait resolution by the compiler.

0 commit comments

Comments
 (0)