Skip to content

Commit 67623b8

Browse files
committed
chore: clippy fixes
1 parent d18e5ee commit 67623b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samling/src/exports/expander.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl<'a> ExpandedRow<'a> {
8282
}
8383
}
8484

85-
pub(super) fn expand(style: &NestedStyle) -> Vec<ExpandedRow> {
85+
pub(super) fn expand(style: &NestedStyle) -> Vec<ExpandedRow<'_>> {
8686
let base = ExpandedRow::new(style);
8787
let expanded = expand_colors(base, &style.colors);
8888

samling/src/i18n.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl I18nString {
9999
for value in values {
100100
for language in Language::iter() {
101101
let found = value.get(language);
102-
if out.get(language) == "" && !found.is_empty() {
102+
if out.get(language).is_empty() && !found.is_empty() {
103103
out.set(language, found.to_owned());
104104
}
105105
}

0 commit comments

Comments
 (0)