Skip to content

Commit

Permalink
fix(gui): add missing const in builders
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Aug 30, 2024
1 parent 4f34491 commit b3c847f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/containers/scroll_area.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ impl ScrollArea {
///
/// Default: `true`.
#[inline]
pub fn const_auto_shrink(mut self, auto_shrink: Vec2b) -> Self {
pub const fn const_auto_shrink(mut self, auto_shrink: Vec2b) -> Self {
self.auto_shrink = auto_shrink;
self
}
Expand Down

0 comments on commit b3c847f

Please sign in to comment.