aboutsummaryrefslogtreecommitdiffstats
path: root/src/arg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arg.rs')
-rw-r--r--src/arg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arg.rs b/src/arg.rs
index eaea67b..d1d62d9 100644
--- a/src/arg.rs
+++ b/src/arg.rs
@@ -1,6 +1,7 @@
use regex::{self, Regex};
+/// Check if `s` is a numeric ID.
pub fn is_suggestion_id(s: &str) -> Result<bool, regex::Error> {
let re = Regex::new(r"^\d+$")?;