Skip to content

Commit e89cf30

Browse files
author
Paolo Tranquilli
committed
Rust: rename TypeRef -> TypeRepr
1 parent 0a93a31 commit e89cf30

File tree

259 files changed

+2360
-2330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+2360
-2330
lines changed

rust/ast-generator/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn class_name(type_name: &str) -> String {
2020
"ElseBranch" => "Expr".to_owned(),
2121
"Fn" => "Function".to_owned(),
2222
"Literal" => "LiteralExpr".to_owned(),
23-
_ if type_name.ends_with("Type") => format!("{}Ref", type_name),
23+
_ if type_name.ends_with("Type") => format!("{}Repr", type_name),
2424
_ => type_name.to_owned(),
2525
}
2626
}

rust/extractor/src/generated/.generated.list

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)