Skip to content

Commit

Permalink
Fixed CI Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
haricot committed Mar 26, 2024
1 parent 23f60c2 commit 6cb9155
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions crates/egui_plot/src/items/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ impl HLine {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -297,7 +298,8 @@ impl VLine {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -445,7 +447,8 @@ impl Line {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -647,7 +650,8 @@ impl Polygon {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -798,7 +802,8 @@ impl Text {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -958,7 +963,8 @@ impl Points {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -1212,7 +1218,8 @@ impl Arrows {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -1381,7 +1388,8 @@ impl PlotImage {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -1628,7 +1636,8 @@ impl BarChart {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down Expand Up @@ -1826,7 +1835,8 @@ impl BoxPlot {
}

/// Allowed hovering this item in the plot. Default: `true`.
pub fn allow_hover(mut self, hovering: bool) -> Self {
#[inline]
pub fn allow_hover(mut self, hovering: bool) -> Self { pub fn allow_hover(mut self, hovering: bool) -> Self {
self.allow_hover = hovering;
self
}
Expand Down

0 comments on commit 6cb9155

Please sign in to comment.