We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84ed7f commit b591169Copy full SHA for b591169
1 file changed
crates/vespera_macro/src/parser/is_keyword_type.rs
@@ -36,7 +36,7 @@ pub fn is_keyword_type(ty: &Type, keyword: &KeywordType) -> bool {
36
}
37
38
pub fn is_keyword_type_by_type_path(ty: &TypePath, keyword: &KeywordType) -> bool {
39
- return ty.path.segments.last().unwrap().ident == keyword.as_str();
+ ty.path.segments.last().unwrap().ident == keyword.as_str()
40
41
42
#[cfg(test)]
0 commit comments