[Perf] remove dead_code warning from from_value of margin
parent
ccf108b440
commit
123e6fb2f2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue