diff options
author | Cullen Rhodes <rhodes.cullen@gmail.com> | 2016-05-22 16:32:18 +0100 |
---|---|---|
committer | Cullen Rhodes <rhodes.cullen@gmail.com> | 2016-05-27 10:18:44 +0100 |
commit | 40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4 (patch) | |
tree | a7786b1554ccc97240fdde367fe0ed5455c4c59f /components/gfx/text | |
parent | 4dcb05ca4f521b2c5eb12000678be035465e092b (diff) | |
download | servo-40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4.tar.gz servo-40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4.zip |
Report use statements that use {} with only one entry
Diffstat (limited to 'components/gfx/text')
-rw-r--r-- | components/gfx/text/shaping/harfbuzz.rs | 36 | ||||
-rw-r--r-- | components/gfx/text/text_run.rs | 2 |
2 files changed, 19 insertions, 19 deletions
diff --git a/components/gfx/text/shaping/harfbuzz.rs b/components/gfx/text/shaping/harfbuzz.rs index 517e20917c5..5e6b025e21c 100644 --- a/components/gfx/text/shaping/harfbuzz.rs +++ b/components/gfx/text/shaping/harfbuzz.rs @@ -6,31 +6,31 @@ use app_units::Au; use euclid::Point2D; use font::{DISABLE_KERNING_SHAPING_FLAG, Font, FontTableMethods, FontTableTag}; use font::{IGNORE_LIGATURES_SHAPING_FLAG, KERN, RTL_FLAG, ShapingOptions}; +use harfbuzz::hb_blob_t; +use harfbuzz::hb_bool_t; +use harfbuzz::hb_buffer_add_utf8; +use harfbuzz::hb_buffer_destroy; +use harfbuzz::hb_buffer_get_glyph_positions; +use harfbuzz::hb_buffer_get_length; +use harfbuzz::hb_face_destroy; +use harfbuzz::hb_feature_t; +use harfbuzz::hb_font_create; +use harfbuzz::hb_font_funcs_create; +use harfbuzz::hb_font_funcs_set_glyph_func; +use harfbuzz::hb_font_funcs_set_glyph_h_advance_func; +use harfbuzz::hb_font_funcs_set_glyph_h_kerning_func; +use harfbuzz::hb_font_set_funcs; +use harfbuzz::hb_font_set_ppem; +use harfbuzz::hb_font_set_scale; +use harfbuzz::hb_glyph_info_t; +use harfbuzz::hb_glyph_position_t; use harfbuzz::{HB_DIRECTION_LTR, HB_DIRECTION_RTL, HB_MEMORY_MODE_READONLY}; use harfbuzz::{hb_blob_create, hb_face_create_for_tables}; -use harfbuzz::{hb_blob_t}; -use harfbuzz::{hb_bool_t}; -use harfbuzz::{hb_buffer_add_utf8}; use harfbuzz::{hb_buffer_create, hb_font_destroy}; -use harfbuzz::{hb_buffer_destroy}; use harfbuzz::{hb_buffer_get_glyph_infos, hb_shape}; -use harfbuzz::{hb_buffer_get_glyph_positions}; -use harfbuzz::{hb_buffer_get_length}; use harfbuzz::{hb_buffer_set_direction, hb_buffer_set_script}; use harfbuzz::{hb_buffer_t, hb_codepoint_t, hb_font_funcs_t}; -use harfbuzz::{hb_face_destroy}; use harfbuzz::{hb_face_t, hb_font_t}; -use harfbuzz::{hb_feature_t}; -use harfbuzz::{hb_font_create}; -use harfbuzz::{hb_font_funcs_create}; -use harfbuzz::{hb_font_funcs_set_glyph_func}; -use harfbuzz::{hb_font_funcs_set_glyph_h_advance_func}; -use harfbuzz::{hb_font_funcs_set_glyph_h_kerning_func}; -use harfbuzz::{hb_font_set_funcs}; -use harfbuzz::{hb_font_set_ppem}; -use harfbuzz::{hb_font_set_scale}; -use harfbuzz::{hb_glyph_info_t}; -use harfbuzz::{hb_glyph_position_t}; use harfbuzz::{hb_position_t, hb_tag_t}; use libc::{c_char, c_int, c_uint, c_void}; use platform::font::FontTable; diff --git a/components/gfx/text/text_run.rs b/components/gfx/text/text_run.rs index af8dba7b8a0..24024908ddc 100644 --- a/components/gfx/text/text_run.rs +++ b/components/gfx/text/text_run.rs @@ -3,8 +3,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use app_units::Au; +use font::ShapingOptions; use font::{Font, FontHandleMethods, FontMetrics, IS_WHITESPACE_SHAPING_FLAG, RunMetrics}; -use font::{ShapingOptions}; use platform::font_template::FontTemplateData; use range::Range; use std::cell::Cell; |