Skip to content

Commit

Permalink
clippy and fmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Nov 22, 2024
1 parent 32da5fb commit a7ec3b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ where
fn generate_type(engines: &Engines, t: &TypeArgument) -> Option<String> {
match &*engines.te().get(t.type_id) {
// when a function does not define a return type, the span points to the whole signature.
TypeInfo::Tuple(v) if v.is_empty() => return Some("()".into()),
TypeInfo::Tuple(v) if v.is_empty() => Some("()".into()),
_ => Some(t.span().as_str().to_string()),
}
}
Expand Down

0 comments on commit a7ec3b0

Please sign in to comment.