We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d18e5ee commit 67623b8Copy full SHA for 67623b8
samling/src/exports/expander.rs
@@ -82,7 +82,7 @@ impl<'a> ExpandedRow<'a> {
82
}
83
84
85
-pub(super) fn expand(style: &NestedStyle) -> Vec<ExpandedRow> {
+pub(super) fn expand(style: &NestedStyle) -> Vec<ExpandedRow<'_>> {
86
let base = ExpandedRow::new(style);
87
let expanded = expand_colors(base, &style.colors);
88
samling/src/i18n.rs
@@ -99,7 +99,7 @@ impl I18nString {
99
for value in values {
100
for language in Language::iter() {
101
let found = value.get(language);
102
- if out.get(language) == "" && !found.is_empty() {
+ if out.get(language).is_empty() && !found.is_empty() {
103
out.set(language, found.to_owned());
104
105
0 commit comments