Make tools happy

This commit is contained in:
Michael Goulet 2023-04-25 06:02:49 +00:00
parent 86f50b9f5c
commit 40a63cb06f
3 changed files with 7 additions and 0 deletions

View file

@ -439,6 +439,7 @@ impl clean::GenericBound {
let modifier_str = match modifier {
hir::TraitBoundModifier::None => "",
hir::TraitBoundModifier::Maybe => "?",
hir::TraitBoundModifier::Negative => "!",
// ~const is experimental; do not display those bounds in rustdoc
hir::TraitBoundModifier::MaybeConst => "",
};