Skip to main content

save_routine

Function save_routine 

Source
pub(crate) fn save_routine(
    id: &str,
    title: &str,
    text: &str,
    auto: bool,
) -> String
Expand description

A routine saved (new when id is empty) from its title and its steps, one a line; returns what went wrong, else “”.