library: render: object: remove unused annotation

This commit is contained in:
Bruno BELANYI 2020-03-18 00:19:42 +01:00
parent 3386617c69
commit 670b076ec6

View file

@ -11,7 +11,6 @@ pub struct Object<'a> {
}
impl<'a> Object<'a> {
#[allow(dead_code)] // FIXME: remove this when used
pub fn new(shape: &'a dyn Shape, material: &'a dyn Material, texture: &'a dyn Texture) -> Self {
Object {
shape,