Compare commits
1 commit
a4bdb20aa7
...
c702d832f4
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c702d832f4 |
|
@ -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()
|
||||
};
|
||||
|
|
|
@ -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),*)?)
|
||||
|
|
Loading…
Reference in a new issue