Skip to content

Commit 6617946

Browse files
committed
cargo clippy fix
1 parent 2266849 commit 6617946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/icon_badges.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use yew::prelude::*;
33
use stylist::{style, yew::styled_component};
44

55
pub fn get_icon_badge(name: &str) -> Option<Html> {
6-
return match name.to_lowercase().as_str() {
6+
match name.to_lowercase().as_str() {
77
"java" => Some(html! {<Java />}),
88
"python" => Some(html! {<Python />}),
99
"rust" => Some(html! {<Rust />}),
@@ -27,7 +27,7 @@ pub fn get_icon_badge(name: &str) -> Option<Html> {
2727
"nuxtjs" => Some(html! {<Vue />}),
2828
"nuxt.js" => Some(html! {<Vue />}),
2929
_ => None,
30-
};
30+
}
3131
}
3232

3333
#[derive(Debug, PartialEq, Properties)]

0 commit comments

Comments
 (0)