Skip to content

Commit

Permalink
map_or→is_some_and
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshi7190 committed Jan 20, 2025
1 parent 93dbfe8 commit d94891f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nusamai/src/sink/cesiumtiles/gltf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ pub fn write_gltf_glb<W: Write>(
.extensions
.as_ref()
.and_then(|ext| ext.ext_texture_webp.as_ref())
.map_or(false, |_| true)
.is_some_and(|_| true)
});

let extensions_used = {
Expand Down

0 comments on commit d94891f

Please sign in to comment.