Improve documentation of feature flags #1347
CI.yml
on: pull_request
code_gen
30s
clippy
3m 0s
clippy-rustfmt
3m 19s
msrv-check
7m 8s
non-amd64-test
8m 44s
non-linux-unix-test
2m 27s
windows-stable
4m 50s
Matrix: build
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__
|