From: Arthur Cohen <[email protected]>
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-path.cc (ResolvePath::resolve_path): Format.
---
gcc/rust/resolve/rust-ast-resolve-path.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gcc/rust/resolve/rust-ast-resolve-path.cc
b/gcc/rust/resolve/rust-ast-resolve-path.cc
index 9e982d0610e..56c352e13ea 100644
--- a/gcc/rust/resolve/rust-ast-resolve-path.cc
+++ b/gcc/rust/resolve/rust-ast-resolve-path.cc
@@ -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)
--
2.42.1