[pbs-devel] applied: [PATCH v2 proxmox 2/5] time: also implement `From<&TimeSpan> for f64`

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 26 16:55:23 CET 2024


Am 23.10.24 um 11:11 schrieb Christian Ebner:
> Extend the already present `From<TimeSpan> for f64` implementation to
> allow using the reference as well. There is no need to take ownership
> and consume the `TimeSpan` object for conversion.
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> changes since version 1:
> - not present in previous version
> 
>  proxmox-time/src/time_span.rs | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
>

applied, thanks!




More information about the pbs-devel mailing list