Remove unnecessary closure wrapper

This commit is contained in:
Dirkjan Ochtman 2020-11-25 22:30:14 +01:00
parent ed8e13b10c
commit bd497d155d
1 changed files with 1 additions and 1 deletions

View File

@ -170,4 +170,4 @@ fn test_segment_12() {
]);
}
static SEGMENTER: Lazy<Segmenter> = Lazy::new(|| word_segmenters::test_data::segmenter());
static SEGMENTER: Lazy<Segmenter> = Lazy::new(word_segmenters::test_data::segmenter);