Add slice as a search term on range (#14128)

Not to be confused with `seq` which is similar to our range type,
`range` does a slice based on a range.
This commit is contained in:
Stefan Holderbach 2024-10-21 12:55:03 +02:00 committed by GitHub
parent 8d4426f2f8
commit 9ad6d13982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ impl Command for Range {
} }
fn search_terms(&self) -> Vec<&str> { fn search_terms(&self) -> Vec<&str> {
vec!["filter", "head", "tail"] vec!["filter", "head", "tail", "slice"]
} }
fn examples(&self) -> Vec<Example> { fn examples(&self) -> Vec<Example> {