Skip to content

Commit

Permalink
Fix alias placed before doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MeGaGiGaGon authored Nov 10, 2024
1 parent 8e80efc commit b31be15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,8 @@ impl Visuals {
self.widgets.noninteractive.weak_bg_fill
}

#[doc(alias = "grey_out")]
/// Returned a "grayed out" version of the given color.
#[doc(alias = "grey_out")]
#[inline(always)]
pub fn gray_out(&self, color: Color32) -> Color32 {
crate::ecolor::tint_color_towards(color, self.fade_out_to_color())
Expand Down

0 comments on commit b31be15

Please sign in to comment.