Skip to content

Commit

Permalink
deny this shit
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Nov 17, 2023
1 parent 3f198a1 commit aba60fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/bevy_gltf/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ fn load_material(
})
}

#[allow(clippy::result_large_err)]
/// Loads a glTF node.
fn load_node(
gltf_node: &gltf::Node,
Expand All @@ -863,7 +862,6 @@ fn load_node(
active_camera_found: &mut bool,
parent_transform: &Transform,
) -> Result<(), GltfError> {
let x = 1;
let transform = gltf_node.transform();
let mut gltf_error = None;
let transform = Transform::from_matrix(Mat4::from_cols_array_2d(&transform.matrix()));
Expand Down Expand Up @@ -1237,7 +1235,7 @@ fn texture_address_mode(gltf_address_mode: &gltf::texture::WrappingMode) -> Imag
}
}

#[allow(clippy::result_large_err)]
#[deny(clippy::result_large_err)]
/// Maps the `primitive_topology` form glTF to `wgpu`.
fn get_primitive_topology(mode: Mode) -> Result<PrimitiveTopology, GltfError> {
match mode {
Expand Down

0 comments on commit aba60fe

Please sign in to comment.