diff options
| author | Joe Wilm <jwilm@users.noreply.github.com> | 2018-12-10 09:53:56 -0800 |
|---|---|---|
| committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-12-10 17:53:56 +0000 |
| commit | 217ad9ec285b4923de1790b0976c8c793039c994 (patch) | |
| tree | 440e0d6d35f119246d2b113fd01b431f4f9c2c38 /font/src/rusttype | |
| parent | 7ab0b448479c9705fa14003bda97040630710b7a (diff) | |
| download | r-alacritty-217ad9ec285b4923de1790b0976c8c793039c994.tar.gz r-alacritty-217ad9ec285b4923de1790b0976c8c793039c994.tar.bz2 r-alacritty-217ad9ec285b4923de1790b0976c8c793039c994.zip | |
Upgrade to Rust 2018
This resolves a lot of NLL issues, however full NLL will be necessary to
handle a couple of remaining issues.
Diffstat (limited to 'font/src/rusttype')
| -rw-r--r-- | font/src/rusttype/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/rusttype/mod.rs b/font/src/rusttype/mod.rs index c4fda66f..dea58150 100644 --- a/font/src/rusttype/mod.rs +++ b/font/src/rusttype/mod.rs @@ -11,7 +11,7 @@ pub struct RustTypeRasterizer { dpi_ratio: f32, } -impl ::Rasterize for RustTypeRasterizer { +impl crate::Rasterize for RustTypeRasterizer { type Err = Error; fn new(device_pixel_ratio: f32, _: bool) -> Result<RustTypeRasterizer, Error> { |