lower impl const to bind to host effect param
This commit is contained in:
@@ -626,7 +626,6 @@ impl<'a> State<'a> {
|
||||
unsafety,
|
||||
polarity,
|
||||
defaultness,
|
||||
constness,
|
||||
defaultness_span: _,
|
||||
generics,
|
||||
ref of_trait,
|
||||
@@ -643,10 +642,6 @@ impl<'a> State<'a> {
|
||||
self.space();
|
||||
}
|
||||
|
||||
if constness == hir::Constness::Const {
|
||||
self.word_nbsp("const");
|
||||
}
|
||||
|
||||
if let hir::ImplPolarity::Negative(_) = polarity {
|
||||
self.word("!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user