aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text/shaping/harfbuzz.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-07-27 02:21:01 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-07-27 02:21:01 +0200
commita205c822647184165de1483c5c7f797097ddad0d (patch)
tree71761a894faa885ee8a190f6ba643d3bacbe1e2b /components/gfx/text/shaping/harfbuzz.rs
parent27031b996b905bbe42234729a63352cd7579f0fa (diff)
downloadservo-a205c822647184165de1483c5c7f797097ddad0d.tar.gz
servo-a205c822647184165de1483c5c7f797097ddad0d.zip
Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26)
Diffstat (limited to 'components/gfx/text/shaping/harfbuzz.rs')
-rw-r--r--components/gfx/text/shaping/harfbuzz.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/text/shaping/harfbuzz.rs b/components/gfx/text/shaping/harfbuzz.rs
index 19827c2b191..ce61dd30c0e 100644
--- a/components/gfx/text/shaping/harfbuzz.rs
+++ b/components/gfx/text/shaping/harfbuzz.rs
@@ -421,7 +421,7 @@ lazy_static! {
hb_font_funcs_set_glyph_h_kerning_func(
hb_funcs, Some(glyph_h_kerning_func), ptr::null_mut(), None);
- ptr::Unique::new(hb_funcs)
+ ptr::Unique::new_unchecked(hb_funcs)
};
}