Skip to content

README.md: some rewording #143

README.md: some rewording

README.md: some rewording #143

GitHub Actions / clippy failed Mar 3, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 50 in crates/types/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this bound is already specified as the supertrait of `DoubleEndedIterator`

error: this bound is already specified as the supertrait of `DoubleEndedIterator`
   --> crates/types/src/lib.rs:50:26
    |
50  |               pub fn iter() -> impl Iterator<Item = $t<AXIS>>
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
...
170 | / coord_type!(
171 | |     ChunkCoord,
172 | |     CHUNKS_PER_REGION,
173 | |     "A chunk coordinate relative to a region",
174 | | );
    | |_- in this macro invocation
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
    = note: this error originates in the macro `coord_type` (in Nightly builds, run with -Z macro-backtrace for more info)
help: try removing this bound
    |
50  -             pub fn iter() -> impl Iterator<Item = $t<AXIS>>
51  -                    + DoubleEndedIterator
50  +             pub fn iter() -> impl DoubleEndedIterator<Item = $t<AXIS>>
    |

Check failure on line 50 in crates/types/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this bound is already specified as the supertrait of `DoubleEndedIterator`

error: this bound is already specified as the supertrait of `DoubleEndedIterator`
  --> crates/types/src/lib.rs:50:26
   |
50 |               pub fn iter() -> impl Iterator<Item = $t<AXIS>>
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / coord_type!(
67 | |     BlockCoord,
68 | |     BLOCKS_PER_CHUNK,
69 | |     "A block coordinate relative to a chunk",
70 | | );
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
   = note: `-D clippy::implied-bounds-in-impls` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::implied_bounds_in_impls)]`
   = note: this error originates in the macro `coord_type` (in Nightly builds, run with -Z macro-backtrace for more info)
help: try removing this bound
   |
50 -             pub fn iter() -> impl Iterator<Item = $t<AXIS>>
51 -                    + DoubleEndedIterator
50 +             pub fn iter() -> impl DoubleEndedIterator<Item = $t<AXIS>>
   |