Deny unsafe code in more crates.

This commit is contained in:
Ms2ger 2016-03-18 14:43:03 +01:00
parent c90a1b9b1c
commit 08083f1c9d
17 changed files with 44 additions and 0 deletions

View file

@ -153,6 +153,7 @@ impl WebGLPaintThread {
unimplemented!()
}
#[allow(unsafe_code)]
fn recreate(&mut self, size: Size2D<i32>) -> Result<(), &'static str> {
match self.data {
WebGLPaintTaskData::Servo(ref mut context) => {