aboutsummaryrefslogtreecommitdiff
path: root/font/src/directwrite/mod.rs
diff options
context:
space:
mode:
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>2020-01-15 22:14:07 +0000
committerChristian Duerr <contact@christianduerr.com>2020-01-15 23:14:07 +0100
commitf54aabfe9295902b6bbe0db115186ca26f1956b0 (patch)
treeaebd591cfa1d14ec2a111064e501bb0a4d431145 /font/src/directwrite/mod.rs
parent7d1edf01c2d16eedbbfb652b1e57db0f819f12c0 (diff)
downloadr-alacritty-f54aabfe9295902b6bbe0db115186ca26f1956b0.tar.gz
r-alacritty-f54aabfe9295902b6bbe0db115186ca26f1956b0.tar.bz2
r-alacritty-f54aabfe9295902b6bbe0db115186ca26f1956b0.zip
Update font crate to 2018 edition
Diffstat (limited to 'font/src/directwrite/mod.rs')
-rw-r--r--font/src/directwrite/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/font/src/directwrite/mod.rs b/font/src/directwrite/mod.rs
index 74f3d6e2..f2e71ef6 100644
--- a/font/src/directwrite/mod.rs
+++ b/font/src/directwrite/mod.rs
@@ -13,10 +13,7 @@
// limitations under the License.
//
//! Rasterization powered by DirectWrite
-extern crate dwrote;
-use self::dwrote::{
- FontCollection, FontStretch, FontStyle, FontWeight, GlyphOffset, GlyphRunAnalysis,
-};
+use dwrote::{FontCollection, FontStretch, FontStyle, FontWeight, GlyphOffset, GlyphRunAnalysis};
use super::{
BitmapBuffer, FontDesc, FontKey, GlyphKey, Metrics, RasterizedGlyph, Size, Slant, Style, Weight,