diff options
Diffstat (limited to 'crates/shirabe/src/console/input.rs')
| -rw-r--r-- | crates/shirabe/src/console/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/console/input.rs b/crates/shirabe/src/console/input.rs index 6e515e7d..84e46382 100644 --- a/crates/shirabe/src/console/input.rs +++ b/crates/shirabe/src/console/input.rs @@ -42,12 +42,12 @@ impl std::fmt::Debug for SuggestedValues { impl SuggestedValues { /// Whether PHP's `[] !== $suggestedValues` is false, i.e. no suggestions were declared. - pub(crate) fn is_empty(&self) -> bool { + fn is_empty(&self) -> bool { matches!(self, SuggestedValues::List(values) if values.is_empty()) } /// The shared body of the `InputArgument::complete` / `InputOption::complete` backport. - pub(crate) fn complete( + fn complete( &self, this: &dyn crate::command::BaseCommand, input: &CompletionInput, |
