Skip to content

Commit

Permalink
Fix GFX Warnings
Browse files Browse the repository at this point in the history
Corrections to GFX Warnings Fix
  • Loading branch information
Coder206 committed Aug 14, 2016
1 parent 78160bf commit dd7daf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/gfx/text/glyph.rs
Expand Up @@ -22,7 +22,7 @@ pub use gfx_traits::ByteIndex;
/// glyph offsets), we pack the glyph count into GlyphEntry, and store the other glyph information
/// in DetailedGlyphStore.
#[derive(Clone, Debug, Copy, Deserialize, Serialize, PartialEq)]
struct GlyphEntry {
pub struct GlyphEntry {
value: u32,
}

Expand Down Expand Up @@ -103,7 +103,7 @@ fn is_simple_advance(advance: Au) -> bool {
}
}

type DetailedGlyphCount = u16;
pub type DetailedGlyphCount = u16;

// Getters and setters for GlyphEntry. Setter methods are functional,
// because GlyphEntry is immutable and only a u32 in size.
Expand Down

0 comments on commit dd7daf2

Please sign in to comment.