chore(options): fix incorrect comment about values

This commit is contained in:
2025-11-01 01:11:02 -04:00
parent d9c0dc915d
commit b0081ef9f3

View File

@@ -96,7 +96,7 @@ pub trait OptionsRepresentable {
let maybe_next = iterator.peek(); let maybe_next = iterator.peek();
// If the next value isn't another option, set the value to the next value. // If the next value isn't another option, set the value to the next value.
// Otherwise, it is an empty string. // Otherwise, it is None.
value = if let Some(next) = maybe_next value = if let Some(next) = maybe_next
&& !next.starts_with("--") && !next.starts_with("--")
{ {