Skip to content

Commit b591169

Browse files
committed
Fix lint
1 parent d84ed7f commit b591169

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/vespera_macro/src/parser/is_keyword_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn is_keyword_type(ty: &Type, keyword: &KeywordType) -> bool {
3636
}
3737

3838
pub fn is_keyword_type_by_type_path(ty: &TypePath, keyword: &KeywordType) -> bool {
39-
return ty.path.segments.last().unwrap().ident == keyword.as_str();
39+
ty.path.segments.last().unwrap().ident == keyword.as_str()
4040
}
4141

4242
#[cfg(test)]

0 commit comments

Comments
 (0)