Fix new Clippy lints

This commit is contained in:
Robbert van der Helm
2023-09-03 16:35:57 +02:00
parent 19988db139
commit c0a72661e1
6 changed files with 33 additions and 9 deletions

View File

@@ -98,7 +98,7 @@ impl ParamWidgetBase {
/// `Params` object to the parameter you want to display a widget for. Parameter changes are
/// handled by emitting [`ParamEvent`][super::ParamEvent]s which are automatically handled by
/// the VIZIA wrapper.
pub fn new<L, Params, P, FMap>(cx: &mut Context, params: L, params_to_param: FMap) -> Self
pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
where
L: Lens<Target = Params> + Clone,
Params: 'static,