Fixed lifetime on ref

This commit is contained in:
2026-06-16 13:17:06 +02:00
parent e4fbab190c
commit 001165ee58
+1 -1
View File
@@ -240,7 +240,7 @@ impl GetRust for TypeExpr {
match lifetime {
Lifetime::Lifetime(v) => {
format!(
"&{} {}{}",
"&'{} {}{}",
v.get_rust(),
if *mutable { "mut " } else { "" },
ty.get_rust()