Skip to content

Commit

Permalink
[Perf] remove dead_code warning from from_value of margin
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Mar 17, 2024
1 parent 43aa93c commit 8992584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/src/edges/margin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ impl Edge for Margin {
}

impl Margin {
#[allow(dead_code)]
pub fn from_value(value: f32) -> Margin {
Margin {
left: value,
Expand Down

0 comments on commit 8992584

Please sign in to comment.