Skip to content
Snippets Groups Projects
Commit 83553bc9 authored by Per Lindgren's avatar Per Lindgren
Browse files

ref/mut in ast

parent 33ffaf8a
No related branches found
No related tags found
No related merge requests found
...@@ -297,8 +297,8 @@ impl Display for Type { ...@@ -297,8 +297,8 @@ impl Display for Type {
Never => write!(fmt, "!"), Never => write!(fmt, "!"),
Bool => write!(fmt, "bool"), Bool => write!(fmt, "bool"),
I32 => write!(fmt, "i32"), I32 => write!(fmt, "i32"),
//Ref((is_mut, t)) => write!(fmt, "&{}", t), Ref(t) => write!(fmt, "&{}", t),
//RefMut(t) => write!(fmt, "&mut {}", t), Mut(t) => write!(fmt, "mut {}", t),
_ => unimplemented!(), _ => unimplemented!(),
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment