Skip to content

Commit

Permalink
resolve: Format if properly
Browse files Browse the repository at this point in the history
gcc/rust/ChangeLog:

	* resolve/rust-ast-resolve-path.cc (ResolvePath::resolve_path): Format.
  • Loading branch information
CohenArthur committed Nov 21, 2023
1 parent 669e98d commit fedd63e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gcc/rust/resolve/rust-ast-resolve-path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ ResolvePath::resolve_path (AST::SimplePath *expr)
// is_final_segment ? "true" : "false");
if (resolved_node_id == UNKNOWN_NODEID && !is_first_segment
&& is_final_segment && segment.is_lower_self_seg ())
{
resolved_node_id = previous_resolved_node_id;
}
resolved_node_id = previous_resolved_node_id;

// final check
if (resolved_node_id == UNKNOWN_NODEID)
Expand Down

0 comments on commit fedd63e

Please sign in to comment.