pub fn replace_entry(
path: &Path,
needle: &str,
replacement: &str,
cap: usize,
) -> Result<(), WriteError>Expand description
Replace the one entry carrying needle.
ยงErrors
WriteError::Refused unless exactly one entry matches, else as
write_capped.