diff options
| author | Michael Goulet <michael@errs.io> | 2023-04-25 06:02:49 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-05-02 22:36:24 +0000 |
| commit | 40a63cb06ff21d7cd38f35c92a29162e43f9aadf (patch) | |
| tree | b233de574c13214643bd65abf928bc8e198da601 /src/librustdoc/html | |
| parent | 86f50b9f5c56982f4f50404539c56395ce811f18 (diff) | |
| download | rust-40a63cb06ff21d7cd38f35c92a29162e43f9aadf.tar.gz rust-40a63cb06ff21d7cd38f35c92a29162e43f9aadf.zip | |
Make tools happy
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/format.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 297120da284..1c6810bdaf9 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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 => "", }; |
