diff options
| author | bors <bors@rust-lang.org> | 2024-10-30 21:58:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-30 21:58:56 +0000 |
| commit | 1998abcdcee005bc7097e1e4c13671e3af6a5b1f (patch) | |
| tree | bfcc348576beacfe8dac91a65c3f70d6664be44a /tests | |
| parent | 1bdc08a6bc0985e27699e181712b54999c89306b (diff) | |
| parent | bd4aa170ef75bdc8cbee7d178aaa64e14fce04ef (diff) | |
| download | rust-1998abcdcee005bc7097e1e4c13671e3af6a5b1f.tar.gz rust-1998abcdcee005bc7097e1e4c13671e3af6a5b1f.zip | |
Auto merge of #13633 - chrysn-pull-requests:doc-valid-ident-coap, r=Centri3
Add 'CoAP' to doc-valid-idents CoAP is a name of a network protocol common in embedded systems; one would talk in documentation about "a CoAP server" or "a CoAP client" without referring to a specific type. This PR fixes false positives that arise from that use. changelog: [`doc_markdown`]: Add CoAP to `doc-valid-idents`. As this review is identical in structure to https://github.com/rust-lang/rust-clippy/pull/13460, I'm asking for a the same reviewer (if that works): r? `@Centri3`
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/doc/doc-fixable.fixed | 2 | ||||
| -rw-r--r-- | tests/ui/doc/doc-fixable.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/doc/doc-fixable.fixed b/tests/ui/doc/doc-fixable.fixed index 8a379330c48..5cf5c608a85 100644 --- a/tests/ui/doc/doc-fixable.fixed +++ b/tests/ui/doc/doc-fixable.fixed @@ -56,7 +56,7 @@ fn test_units() { /// KiB MiB GiB TiB PiB EiB /// MHz GHz THz /// AccessKit -/// CoreFoundation CoreGraphics CoreText +/// CoAP CoreFoundation CoreGraphics CoreText /// Direct2D Direct3D DirectWrite DirectX /// ECMAScript /// GPLv2 GPLv3 diff --git a/tests/ui/doc/doc-fixable.rs b/tests/ui/doc/doc-fixable.rs index 35f43d98e79..420211c6539 100644 --- a/tests/ui/doc/doc-fixable.rs +++ b/tests/ui/doc/doc-fixable.rs @@ -56,7 +56,7 @@ fn test_units() { /// KiB MiB GiB TiB PiB EiB /// MHz GHz THz /// AccessKit -/// CoreFoundation CoreGraphics CoreText +/// CoAP CoreFoundation CoreGraphics CoreText /// Direct2D Direct3D DirectWrite DirectX /// ECMAScript /// GPLv2 GPLv3 |
