Reduce the scope of the allowed unsafe code in gfx::text.

This commit is contained in:
Ms2ger 2016-06-05 12:30:34 +02:00
parent 75ea39c709
commit db5ddb561c
3 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![allow(unsafe_code)]
use app_units::Au;
use euclid::Point2D;
use font::{DISABLE_KERNING_SHAPING_FLAG, Font, FontTableMethods, FontTableTag};