From a3965918bc98059249f1e13ee6ec8af72e8e3cc6 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 13 May 2022 09:31:35 -0500 Subject: [PATCH] doc(parser): Explain built-in motivation --- src/builder/value_parser.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/builder/value_parser.rs b/src/builder/value_parser.rs index 9af48efc..309ad803 100644 --- a/src/builder/value_parser.rs +++ b/src/builder/value_parser.rs @@ -9,8 +9,11 @@ pub struct ValueParser(pub(crate) ValueParserInner); #[derive(Clone)] pub(crate) enum ValueParserInner { + // Common enough that we optimize it String, + // Common enough that we optimize it OsString, + // Common enough that we optimize it PathBuf, Other(Arc), }