Skip to content

Commit 18a5598

Browse files
committed
Added more documentation for vtable_for
1 parent 0a204fe commit 18a5598

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
@@ -2657,8 +2657,7 @@ pub unsafe fn vtable_size(ptr: *const ()) -> usize;
26572657
#[rustc_intrinsic]
26582658
pub unsafe fn vtable_align(ptr: *const ()) -> usize;
26592659

2660-
/// FIXME: write actual docs (ivarflakstad)
2661-
/// The intrinsic will return the vtable of `t` through the lens of `U`.
2660+
/// The intrinsic returns the vtable of `T` through the lens of `U`.
26622661
///
26632662
/// # Compile-time failures
26642663
/// Determining whether `T` implements `U` requires trait resolution by the compiler.

0 commit comments

Comments
 (0)