Skip to content

Improve documentation of feature flags #1347

Improve documentation of feature flags

Improve documentation of feature flags #1347

Triggered via pull request October 8, 2023 08:45
Status Success
Total duration 17m 25s
Artifacts

CI.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error
clippy: x11rb-protocol/src/packet_reader.rs#L135
[clippy] reported by reviewdog 🐶 <pre><code>error: this loop never actually loops --> x11rb-protocol/src/packet_reader.rs:135:9 | 135 | / for mut packet in packets { 136 | | let original_packet = packet.clone(); 137 | | 138 | | loop { ... | 148 | | } 149 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop = note: `#[deny(clippy::never_loop)]` on by default help: if you need the first element of the iterator, try writing | 135 | if let Some(mut packet) = packets.into_iter().next() { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: x11rb-protocol/src/packet_reader.rs:135:9:e: <pre><code>error: this loop never actually loops --> x11rb-protocol/src/packet_reader.rs:135:9 | 135 | / for mut packet in packets { 136 | | let original_packet = packet.clone(); 137 | | 138 | | loop { ... | 148 | | } 149 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop = note: `#[deny(clippy::never_loop)]` on by default help: if you need the first element of the iterator, try writing | 135 | if let Some(mut packet) = packets.into_iter().next() { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__