pub fn clear_default(mime: &str) -> Result<()>Expand description
Removes mime’s default from the user’s own mimeapps.list.
Prefer MimeDb::clear_default, which resolves an alias first.
Nothing recorded is already the state being asked for, so a missing
file and a file with no line for this type are both Ok(()) and
neither writes anything. That is the one case where doing nothing is
the whole job.