do not link non existant functions in the base library
This commit is contained in:
parent
284c005e4e
commit
c702d832f4
3 changed files with 5 additions and 155 deletions
|
@ -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()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue