Skip to content
Snippets Groups Projects
Unverified Commit c665e5bf authored by Lennard Gäher's avatar Lennard Gäher
Browse files

fix fmt

parent 1e8db0b6
No related branches found
No related tags found
1 merge request!22Fix formatting on main
Pipeline #97965 passed with warnings
......@@ -2576,13 +2576,8 @@ impl CoqParam {
}
pub fn format(&self, f: &mut Formatter, make_implicits: bool) -> fmt::Result {
if self.implicit {
if make_implicits {
write!(f, "`{{{}}}", self.ty)
}
else {
write!(f, "`({})", self.ty)
}
if self.implicit {
if make_implicits { write!(f, "`{{{}}}", self.ty) } else { write!(f, "`({})", self.ty) }
} else {
write!(f, "({} : {})", self.name, self.ty)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment