refactor: pedantic cargo clippy, do not use Results for always-succeeding functions
This commit is contained in:
@@ -265,7 +265,7 @@ pub fn construct<U1, U2>(
|
||||
round: params.round,
|
||||
border_color: params.border_color,
|
||||
border: 2.0,
|
||||
})?,
|
||||
}),
|
||||
style,
|
||||
)?;
|
||||
|
||||
@@ -287,10 +287,8 @@ pub fn construct<U1, U2>(
|
||||
..params.text_style
|
||||
},
|
||||
},
|
||||
)?,
|
||||
taffy::Style {
|
||||
..Default::default()
|
||||
},
|
||||
),
|
||||
Default::default(),
|
||||
)?;
|
||||
|
||||
let data = Rc::new(Data {
|
||||
|
||||
Reference in New Issue
Block a user