1
0
Fork 0

[Perf] remove dead_code warning from from_value of margin

main
Mist 2024-03-17 14:04:33 +08:00
parent ccf108b440
commit 123e6fb2f2
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ impl Edge for Margin {
} }
impl Margin { impl Margin {
#[allow(dead_code)]
pub fn from_value(value: f32) -> Margin { pub fn from_value(value: f32) -> Margin {
Margin { Margin {
left: value, left: value,