Skip to content

Commit 36c1a88

Browse files
committed
fmt
1 parent b72d126 commit 36c1a88

File tree

1 file changed

+5
-1
lines changed
  • crates/bevy_render/src/view/visibility

1 file changed

+5
-1
lines changed

crates/bevy_render/src/view/visibility/mod.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ impl Visibility {
6868
/// Set the visibility to either Inherited or Hidden using a boolean expression.
6969
#[inline]
7070
pub fn set(&mut self, inherited: bool) {
71-
*self = if inherited { Self::Inherited } else { Self::Hidden }
71+
*self = if inherited {
72+
Self::Inherited
73+
} else {
74+
Self::Hidden
75+
}
7276
}
7377
}
7478

0 commit comments

Comments
 (0)