aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/mod.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-06-05 12:02:22 +0200
committerMs2ger <Ms2ger@gmail.com>2016-06-05 12:31:53 +0200
commit50e1e8bf02b92aac5f09a69e49fd0973026410c2 (patch)
treee7fd5a744806973874ff4a1e2f1769faf863c35d /components/gfx/platform/mod.rs
parent2767133ff309e3f9c61eccd7e5444e5235ed4c9a (diff)
downloadservo-50e1e8bf02b92aac5f09a69e49fd0973026410c2.tar.gz
servo-50e1e8bf02b92aac5f09a69e49fd0973026410c2.zip
Make the gfx::platform module private.
Diffstat (limited to 'components/gfx/platform/mod.rs')
-rw-r--r--components/gfx/platform/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/platform/mod.rs b/components/gfx/platform/mod.rs
index 17aaf36ae27..fed55781486 100644
--- a/components/gfx/platform/mod.rs
+++ b/components/gfx/platform/mod.rs
@@ -9,7 +9,7 @@ pub use platform::freetype::{font, font_context, font_list, font_template};
pub use platform::macos::{font, font_context, font_list, font_template};
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
-pub mod freetype {
+mod freetype {
use libc::c_char;
use std::ffi::CStr;
use std::str;
@@ -27,7 +27,7 @@ pub mod freetype {
}
#[cfg(target_os = "macos")]
-pub mod macos {
+mod macos {
pub mod font;
pub mod font_context;
pub mod font_list;