[std::str] Rename from_utf8_owned_opt() to from_utf8_owned(), drop the old from_utf8_owned() behavior
This commit is contained in:
@@ -427,7 +427,7 @@ impl<'a> SourceCollector<'a> {
|
||||
}
|
||||
}
|
||||
}
|
||||
let contents = str::from_utf8_owned(contents);
|
||||
let contents = str::from_utf8_owned(contents).unwrap();
|
||||
|
||||
// Create the intermediate directories
|
||||
let mut cur = self.dst.clone();
|
||||
|
||||
Reference in New Issue
Block a user