Skip to content

Commit

Permalink
style: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Oct 28, 2023
1 parent 69a817d commit fa44891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn App() -> impl IntoView {
<Route
path="/settings"
view=move || SettingsChanger(SettingsChangerProps {
settings: settings,
settings,
})
/>
<Route path="/dictionary" view=Todo/>
Expand Down
2 changes: 1 addition & 1 deletion src-ui/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn SettingsChanger(settings: Resource<(), Settings>) -> impl IntoView {
.dicts
.clone()
.into_iter()
.map(|d| create_signal(d))
.map(create_signal)
.enumerate()
.collect::<Vec<_>>();

Expand Down

0 comments on commit fa44891

Please sign in to comment.