Fix typo in ui.rs (waker -> weaker) (#1586)

This commit is contained in:
Nigecat 2022-05-06 18:36:49 +10:00 committed by GitHub
parent fe6e1ce28f
commit 87ca29173d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1251,7 +1251,7 @@ impl Ui {
Label::new(text.into().strong()).ui(self) 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())` /// Shortcut for `ui.label(RichText::new(text).weak())`
pub fn weak(&mut self, text: impl Into<RichText>) -> Response { pub fn weak(&mut self, text: impl Into<RichText>) -> Response {