Lifetimes

This commit is contained in:
2026-05-08 20:15:56 +02:00
parent 020dd3b76b
commit 910657c755
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -96,6 +96,7 @@ impl GetRust for TypeExprKind {
fn get_rust(&self) -> String {
match self {
TypeExprKind::Path(path) => get_static_type_path(path),
TypeExprKind::Lifetime(name) => format!("'{}", name.get_rust()),
TypeExprKind::PathParams(path, params) => {
format!(
"{}<{}>",