Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee33287

Browse files
committed
Removed unused imports
1 parent6012417 commitee33287

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

‎scripts/unicode.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ def emit_break_module(f, break_table, break_cats, name):
281281
f.write(""" }
282282
283283
fn bsearch_range_value_table(c: char, r: &'static [(char, char, %sCat)]) -> (u32, u32, %sCat) {
284-
use core;
285284
use core::cmp::Ordering::{Equal, Less, Greater};
286285
match r.binary_search_by(|&(lo, hi, _)| {
287286
if lo <= c && c <= hi { Equal }

‎src/tables.rs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ pub mod grapheme {
352352
}
353353

354354
fnbsearch_range_value_table(c:char,r:&'static[(char,char,GraphemeCat)]) ->(u32,u32,GraphemeCat){
355-
use core;
356355
use core::cmp::Ordering::{Equal,Less,Greater};
357356
match r.binary_search_by(|&(lo, hi, _)|{
358357
if lo <= c && c <= hi{Equal}
@@ -1003,7 +1002,6 @@ pub mod word {
10031002
}
10041003

10051004
fnbsearch_range_value_table(c:char,r:&'static[(char,char,WordCat)]) ->(u32,u32,WordCat){
1006-
use core;
10071005
use core::cmp::Ordering::{Equal,Less,Greater};
10081006
match r.binary_search_by(|&(lo, hi, _)|{
10091007
if lo <= c && c <= hi{Equal}
@@ -1479,7 +1477,6 @@ pub mod emoji {
14791477
}
14801478

14811479
fnbsearch_range_value_table(c:char,r:&'static[(char,char,EmojiCat)]) ->(u32,u32,EmojiCat){
1482-
use core;
14831480
use core::cmp::Ordering::{Equal,Less,Greater};
14841481
match r.binary_search_by(|&(lo, hi, _)|{
14851482
if lo <= c && c <= hi{Equal}
@@ -1583,7 +1580,6 @@ pub mod sentence {
15831580
}
15841581

15851582
fnbsearch_range_value_table(c:char,r:&'static[(char,char,SentenceCat)]) ->(u32,u32,SentenceCat){
1586-
use core;
15871583
use core::cmp::Ordering::{Equal,Less,Greater};
15881584
match r.binary_search_by(|&(lo, hi, _)|{
15891585
if lo <= c && c <= hi{Equal}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp