From 72aa2ff0ab5e8505a7a18ffb0db71f3f684dcecd Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 16 Jun 2022 14:43:01 +0200 Subject: [PATCH] uucore: fix invalid enum variant in docstring --- src/uucore/src/lib/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uucore/src/lib/lib.rs b/src/uucore/src/lib/lib.rs index ad8f81259..d5aa5e672 100644 --- a/src/uucore/src/lib/lib.rs +++ b/src/uucore/src/lib/lib.rs @@ -189,8 +189,8 @@ impl ConversionResult { pub trait Args: Iterator + 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