mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 12:30:17 +00:00
chore(options): fix incorrect comment about values
This commit is contained in:
@@ -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("--")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user