Skip to content

Commit

Permalink
Fix doc-test
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 13, 2024
1 parent 7d287d0 commit 2c60a7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/egui/src/containers/combo_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ pub type IconPainter = Box<dyn FnOnce(&Ui, Rect, &WidgetVisuals, bool, AboveOrBe
/// A drop-down selection menu with a descriptive label.
///
/// ```
/// # #[derive(Debug, PartialEq)]
/// # egui::__run_test_ui(|ui| {
/// # #[derive(Debug, PartialEq)]
/// # enum Enum { First, Second, Third }
/// # let mut selected = Enum::First;
/// egui::ComboBox::from_label("Select one!")
Expand Down
4 changes: 2 additions & 2 deletions crates/egui/src/pass_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl PassState {
scroll_delta,
#[cfg(feature = "accesskit")]
accesskit_state,
highlight_next_pass: highlight_next_frame,
highlight_next_pass,

#[cfg(debug_assertions)]
debug_rect,
Expand All @@ -287,7 +287,7 @@ impl PassState {
*accesskit_state = None;
}

highlight_next_frame.clear();
highlight_next_pass.clear();
}

/// How much space is still available after panels has been added.
Expand Down

0 comments on commit 2c60a7f

Please sign in to comment.