Compare commits

..

1 commit

Author SHA1 Message Date
Vinzenz Schroeter a4bdb20aa7 do not link non existant functions in the base library
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 1m58s
Rust / build-size-gnu-unstable (pull_request) Successful in 43s
2025-06-28 17:21:00 +02:00
2 changed files with 1 additions and 3 deletions

View file

@ -62,8 +62,6 @@ 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()
};

View file

@ -29,7 +29,7 @@ macro_rules! wrap_method {
::paste::paste!{
$crate::macros::wrap_method!(
$object_type;
#[doc = " Calls method [`" $object_type "::" $function "`]."]
#[doc = " Calls method [`servicepoint::" $object_type "::" $function "`]."]
///
$(#[$meta])+
fn $function($ref_or_mut $instance $(, $($param_name: $param_modifier $param_type),*)?)