aboutsummaryrefslogtreecommitdiff
path: root/vendor/dialoguer/src/completion.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/dialoguer/src/completion.rs')
-rw-r--r--vendor/dialoguer/src/completion.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/dialoguer/src/completion.rs b/vendor/dialoguer/src/completion.rs
new file mode 100644
index 0000000..98c2a9c
--- /dev/null
+++ b/vendor/dialoguer/src/completion.rs
@@ -0,0 +1,4 @@
+/// Trait for completion handling.
+pub trait Completion {
+ fn get(&self, input: &str) -> Option<String>;
+}