mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #3643 from cakebaker/fix_invalid_enum_variant_in_docstring
uucore: fix invalid enum variant in docstring
This commit is contained in:
commit
fa51f8b986
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue