Skip to content

Commit 601066f

Browse files
committed
chore(swift): satisfy clippy warning
1 parent 52650b2 commit 601066f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grapha-swift/src/treesitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3301,7 +3301,7 @@ fn looks_like_localized_wrapper_expression(text: &str, wrapper_base: Option<&str
33013301
fn matches_localization_wrapper_base(wrapper_base: Option<&str>) -> bool {
33023302
match wrapper_base.map(str::trim) {
33033303
None => false,
3304-
Some(base) if base.is_empty() => false,
3304+
Some("") => false,
33053305
Some(base) => {
33063306
let normalized = base.rsplit('.').next().unwrap_or(base);
33073307
matches!(

0 commit comments

Comments
 (0)