diff --git a/src/commands/mod.rs b/src/commands/mod.rs index e3e3715..c8e9dfc 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -62,6 +62,8 @@ macro_rules! derive_command_into_packet { #[doc = "Tries to turn a [`" $command_type "`] into a [Packet]."] /// /// Returns: NULL or a [Packet] containing the command. + /// + /// [Packet]: [`servicepoint::Packet`] fn try_into_packet(move instance) -> move_ok *mut ::servicepoint::Packet { instance.try_into() }; diff --git a/src/macros.rs b/src/macros.rs index 047eaca..34e94e8 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -29,7 +29,7 @@ macro_rules! wrap_method { ::paste::paste!{ $crate::macros::wrap_method!( $object_type; - #[doc = " Calls method [`servicepoint::" $object_type "::" $function "`]."] + #[doc = " Calls method [`" $object_type "::" $function "`]."] /// $(#[$meta])+ fn $function($ref_or_mut $instance $(, $($param_name: $param_modifier $param_type),*)?)