Use intra doc links in the documentation of vtable and const-field-offset macro

This commit is contained in:
Olivier Goffart 2021-11-09 17:37:31 +01:00
parent 973964c2e3
commit 390b838c21
7 changed files with 26 additions and 23 deletions

View file

@ -1,9 +1,9 @@
/*!
This crate expose the `FieldOffsets` derive macro and the types it uses.
This crate expose the [`FieldOffsets`] derive macro and the types it uses.
The macro allows to get const FieldOffset for member of a `#[repr(C)]` struct.
The `FieldOffset` type is re-exported from the `field-offset` crate.
The [`FieldOffset`] type is re-exported from the `field-offset` crate.
*/
#![no_std]