Rust: undo rename of Path::segment to Path::part

This commit is contained in:
Paolo Tranquilli
2025-03-20 16:28:21 +01:00
parent a762e518c6
commit b48d9a255e
22 changed files with 69 additions and 68 deletions

View File

@@ -36,7 +36,6 @@ fn property_name(type_name: &str, field_name: &str) -> String {
("CallExpr", "expr") => "function",
("LetExpr", "expr") => "scrutinee",
("MatchExpr", "expr") => "scrutinee",
("Path", "segment") => "part",
(_, "then_branch") => "then",
(_, "else_branch") => "else_",
("ArrayType", "ty") => "element_type_repr",