fn format_reboot_warning(seconds: u64, release_ver: &str) -> String {
    let time_till_reboot = format_seconds(seconds);

    format!(
        "New update {} is available and has been deployed.\n\
        If permitted by the update strategy, Zincati will reboot into this update when\n\
        all interactive users have logged out, or in {}, whichever comes\n\
        earlier. Please log out of all active sessions in order to let the auto-update\n\
        process continue.",
        release_ver, time_till_reboot
    )
}
/// Returns a warning string about the time until reboot and the release
/// that is staged.
Returns a warning string about the time until reboot and the release
that is staged.
Returns a warning string about the time until reboot and the release that is staged .
fn format_reboot_warning(seconds: u64, release_ver: &str) -> String {
    let time_till_reboot = format_seconds(seconds);
    format!(
        "New update {} is available and has been deployed.\n\
        If permitted by the update strategy, Zincati will reboot into this update when\n\
        all interactive users have logged out, or in {}, whichever comes\n\
        earlier. Please log out of all active sessions in order to let the auto-update\n\
        process continue.",
        release_ver, time_till_reboot
    )
}
fn format_reboot_warning ( seconds : u64 , release_ver : & str ) -> String { let time_till_reboot = format_seconds ( seconds ) ; format ! ( " \n \
 \n \
 \n \
 \n \
 " release_ver time_till_reboot ) }
Returns a warning string about the time until reboot and the release
that is staged.
Returns a warning string about the time until reboot and the release that is staged .
seconds
u64
release_ver
&str