exercism-solutions/rust/anagram/src/lib.rs

6 lines
219 B
Rust
Raw Normal View History

2023-10-11 13:32:05 -05:00
use std::collections::HashSet;
pub fn anagrams_for<'a>(word: &str, possible_anagrams: &[&str]) -> HashSet<&'a str> {
todo!("For the '{word}' word find anagrams among the following words: {possible_anagrams:?}");
}