From a205c822647184165de1483c5c7f797097ddad0d Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 27 Jul 2017 02:21:01 +0200 Subject: Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26) --- components/gfx/text/shaping/harfbuzz.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/gfx/text') 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) }; } -- cgit v1.2.3