Skip to content

Commit de52b36

Browse files
committed
Style nits in words_overlaps test
1 parent 0ecb12d commit de52b36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/language/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ mod tests {
225225
feature = "french", feature = "italian", feature = "japanese", feature = "korean",
226226
feature = "spanish"
227227
))]
228-
#[test]
229-
fn words_overlaps() {
228+
#[test]
229+
fn words_overlaps() {
230230
use std::collections::HashMap;
231231

232232
// We keep a map of all words and the languages they occur in.
233233
// Afterwards, we make sure that no word maps to multiple languages
234234
// if either of those is guaranteed to have unique words.
235-
let mut words: HashMap<&str, Vec<Language>> = HashMap::new();
235+
let mut words: HashMap<&str, Vec<Language>> = HashMap::new();
236236
for lang in Language::all().iter() {
237237
for word in lang.word_list().iter() {
238238
words.entry(word).or_insert(Vec::new()).push(*lang);
@@ -250,5 +250,5 @@ mod tests {
250250
}
251251
}
252252
assert!(ok);
253-
}
253+
}
254254
}

0 commit comments

Comments
 (0)