Skip to content

Commit 8f9bd66

Browse files
committed
Removed unused imports
1 parent d04abd4 commit 8f9bd66

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
fn bsearch_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
fn bsearch_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
fn bsearch_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
fn bsearch_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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy