We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2791cc3 commit 4e3ed18Copy full SHA for 4e3ed18
src/types.rs
@@ -839,9 +839,7 @@ impl Rewrite for ast::Ty {
839
})
840
}
841
ast::TyKind::CVarArgs => Some("...".to_owned()),
842
- ast::TyKind::AnonEnum(_) | ast::TyKind::Err => {
843
- Some(context.snippet(self.span).to_owned())
844
- }
+ ast::TyKind::Err => Some(context.snippet(self.span).to_owned()),
845
ast::TyKind::Typeof(ref anon_const) => rewrite_call(
846
context,
847
"typeof",
0 commit comments