chore: apply clippy suggestions
This commit is contained in:
parent
34f55d6720
commit
a27bb5e05d
34 changed files with 116 additions and 146 deletions
|
|
@ -16,7 +16,7 @@ use super::segmented_button::{
|
|||
/// For details on the model, see the [`segmented_button`] module for more details.
|
||||
pub fn horizontal<SelectionMode: Default, Message>(
|
||||
model: &Model<SelectionMode>,
|
||||
) -> HorizontalSegmentedButton<SelectionMode, Message>
|
||||
) -> HorizontalSegmentedButton<'_, SelectionMode, Message>
|
||||
where
|
||||
Model<SelectionMode>: Selectable,
|
||||
{
|
||||
|
|
@ -39,7 +39,7 @@ where
|
|||
/// For details on the model, see the [`segmented_button`] module for more details.
|
||||
pub fn vertical<SelectionMode, Message>(
|
||||
model: &Model<SelectionMode>,
|
||||
) -> VerticalSegmentedButton<SelectionMode, Message>
|
||||
) -> VerticalSegmentedButton<'_, SelectionMode, Message>
|
||||
where
|
||||
Model<SelectionMode>: Selectable,
|
||||
SelectionMode: Default,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue