Skip to main content

set_taken

Function set_taken 

Source
pub(crate) fn set_taken(key: &str, taken: bool) -> String
Expand description

A dose marked taken, or not, as it happens: taken every few hours, the next doses come that many hours after now; a mark taken back puts them back. Returns what went wrong, else “”.