proxmox/proxmox-time/src
Christian Ebner 17bc0ac616 time: also implement From<&TimeSpan> for f64
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@proxmox.com>
2024-11-26 16:50:56 +01:00
..
calendar_event.rs time: remove deprecated functions 2024-06-20 13:48:42 +02:00
daily_duration.rs fix typos in strings 2024-07-22 08:49:42 +02:00
date_time_value.rs time: exclude certain use statements and impl block on wasm32 2024-06-19 14:55:41 +02:00
lib.rs tree-wide: enable doc_cfg and doc_auto_cfg for docs 2024-07-02 11:59:53 +02:00
parse_helpers.rs time: update to nom 7 2022-08-19 12:22:27 +02:00
posix.rs fix typos in variable and function names 2024-07-22 08:49:42 +02:00
test.rs clippy fixes 2022-10-11 09:48:04 +02:00
time_span.rs time: also implement From<&TimeSpan> for f64 2024-11-26 16:50:56 +01:00
tm_editor.rs Allow to compile on wasm32 target 2021-12-03 08:52:54 +01:00
wasm.rs fix typos in code documentation 2024-07-22 08:49:42 +02:00
week_days.rs bump bitflags dependency to 2.4 2024-06-20 13:48:32 +02:00