mirror of
https://github.com/mistricky/codesnap.nvim.git
synced 2024-12-27 03:46:29 +00:00
[Perf] remove dead_code warning from from_value of margin
This commit is contained in:
parent
ccf108b440
commit
123e6fb2f2
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ impl Edge for Margin {
|
|||
}
|
||||
|
||||
impl Margin {
|
||||
#[allow(dead_code)]
|
||||
pub fn from_value(value: f32) -> Margin {
|
||||
Margin {
|
||||
left: value,
|
||||
|
|
Loading…
Reference in a new issue