1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

uucore: fix invalid enum variant in docstring

This commit is contained in:
Daniel Hofstetter 2022-06-16 14:43:01 +02:00
parent 9cfb92df3f
commit 72aa2ff0ab

View file

@ -189,8 +189,8 @@ impl ConversionResult {
pub trait Args: Iterator<Item = OsString> + Sized {
/// Converts each iterator item to a String and collects these into a vector
/// On invalid encoding, the result will depend on the argument. This method allows to either drop entries with illegal encoding
/// completely (```InvalidEncodingHandling::Ignore```), convert them using lossy-conversion (```InvalidEncodingHandling::Lossy```) which will
/// result in strange strings or can chosen to panic (```InvalidEncodingHandling::Panic```).
/// completely (```InvalidEncodingHandling::Ignore```), convert them using lossy-conversion (```InvalidEncodingHandling::ConvertLossy```)
/// which will result in strange strings or can chosen to panic (```InvalidEncodingHandling::Panic```).
/// # Arguments
/// * `handling` - This switch allows to switch the behavior, when invalid encoding is encountered
/// # Panics