Skip to content

Commit

Permalink
Remove unnecessary Self::DEFAULT constants
Browse files Browse the repository at this point in the history
  • Loading branch information
staticintlucas committed May 17, 2024
1 parent ffee95c commit 049e568
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 184 deletions.
2 changes: 1 addition & 1 deletion keyset-drawing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Default for Options<'_> {
#[inline]
fn default() -> Self {
Self {
profile: &Profile::DEFAULT,
profile: Profile::default_ref(),
font: Font::default_ref(),
scale: 1.0,
outline_width: Length::new(0.01) * DOT_PER_UNIT,
Expand Down
Loading

0 comments on commit 049e568

Please sign in to comment.