Skip to content

Commit

Permalink
ty -> type_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren authored Jul 27, 2024
1 parent 22dbd66 commit 37eef0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions full-moon/src/ast/parsers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2483,11 +2483,11 @@ fn parse_type_suffix(
let type_info = if current_type.is_some() {
current_type.take().unwrap()
} else {
let ParserResult::Value(ty) = parse_simple_type(state, SimpleTypeStyle::Default) else {
let ParserResult::Value(type_info) = parse_simple_type(state, SimpleTypeStyle::Default) else {
return ParserResult::LexerMoved;
};

ty
type_info
};

let Ok(current_token) = state.current() else {
Expand Down

0 comments on commit 37eef0e

Please sign in to comment.