Remove unnecessary closure wrapper
This commit is contained in:
parent
ed8e13b10c
commit
bd497d155d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue