Skip to content

Commit

Permalink
Fix typo in ui.rs (waker -> weaker) (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigecat authored May 6, 2022
1 parent fe6e1ce commit 87ca291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egui/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ impl Ui {
Label::new(text.into().strong()).ui(self)
}

/// Show text that is waker (fainter color).
/// Show text that is weaker (fainter color).
///
/// Shortcut for `ui.label(RichText::new(text).weak())`
pub fn weak(&mut self, text: impl Into<RichText>) -> Response {
Expand Down

0 comments on commit 87ca291

Please sign in to comment.