mirror of
https://github.com/instant-labs/instant-segment.git
synced 2025-01-19 15:29:05 +00:00
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
Block a user