Silence unused warnings

This commit is contained in:
Manish Goregaokar 2018-12-23 15:54:33 -08:00
parent feb2a2d3c9
commit c3b93a967d
5 changed files with 16 additions and 26 deletions

View file

@ -20,6 +20,7 @@ impl XRRigidTransform {
}
}
#[allow(unused)]
pub fn new(global: &GlobalScope) -> DomRoot<XRRigidTransform> {
reflect_dom_object(
Box::new(XRRigidTransform::new_inherited()),