diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-16 22:48:04 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-16 22:48:04 -0800 |
commit | bde4dacc791501440515c1a51ad2fcb0256cf04c (patch) | |
tree | 66bd6762c4ae11705d1a82ed72112a408e5ec2d5 /src/renderer | |
parent | 781572096ea67516a98872b1b3c5b1ffaea9bae0 (diff) | |
download | alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.tar.gz alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.zip |
Misc formatting fixes
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/mod.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index d771b6dc..79cfd665 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -127,7 +127,9 @@ impl GlyphCache { // Load regular font let regular_desc = FontDesc::new(font.family(), font.style()); - let regular = rasterizer.load_font(®ular_desc, size).expect("regular font load ok"); + let regular = rasterizer + .load_font(®ular_desc, size) + .expect("regular font load ok"); // Load bold font let bold_style = font.bold_style().unwrap_or("Bold"); @@ -1192,8 +1194,9 @@ impl Atlas { /// Insert the glyph without checking for room /// - /// Internal function for use once atlas has been checked for space. GL errors could still occur - /// at this point if we were checking for them; hence, the Result. + /// Internal function for use once atlas has been checked for space. GL + /// errors could still occur at this point if we were checking for them; + /// hence, the Result. fn insert_inner(&mut self, glyph: &RasterizedGlyph, active_tex: &mut u32) |