Skip to content

Commit

Permalink
refactor: Refactor Axis module to use Self instead of Axis in new() m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
alceal committed Sep 10, 2024
1 parent f115b39 commit 359dc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl Axis {
///
/// Returns a new `Axis` instance with all properties set to `None` or default values.
pub fn new() -> Self {
Axis::default()
Self::default()
}

/// Sets the visibility of the axis.
Expand Down

0 comments on commit 359dc88

Please sign in to comment.