Skip to content

Commit

Permalink
Don't use not yet supported "expect"
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Sep 24, 2024
1 parent e704017 commit 2025727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion masonry/src/event_loop_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ impl MasonryState<'_> {
let _render_span = tracing::info_span!("Rendering using Vello").entered();
self.renderer
.get_or_insert_with(|| {
#[cfg_attr(not(feature = "tracy"), expect(unused_mut))]
// Should be `expect`, when we up our MSRV.
#[cfg_attr(not(feature = "tracy"), allow(unused_mut))]
let mut renderer = Renderer::new(device, renderer_options).unwrap();
#[cfg(feature = "tracy")]
{
Expand Down

0 comments on commit 2025727

Please sign in to comment.