staticstep 0.4.2

Provides truly zero-cost alternatives to `Iterator::step_by` for both incrementing and decrementing any type that satisfies `RangeBounds<T: Copy + Default + Step>`.
Documentation
Build #1784505 2025-02-20 11:57:29
# rustc version
rustc 1.87.0-nightly (f280acf4c 2025-02-19)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/staticstep-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/staticstep-0.4.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250219-1.87.0-nightly-f280acf4c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 0ac7526a415c742f12f9e44510bdf3574f30f9e5c12b1b9962733ed15e20102a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ac7526a415c742f12f9e44510bdf3574f30f9e5c12b1b9962733ed15e20102a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting staticstep v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stderr]  --> src/lib.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | #![feature(core_intrinsics, step_trait)]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: using it is strongly discouraged
[INFO] [stderr]   = note: `#[warn(internal_features)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:15:22
[INFO] [stderr]    |
[INFO] [stderr] 15 | /// The [`Iterator`](core::iter::Iterator)-implementing struct through which the functionality of
[INFO] [stderr]    |          ----------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |          |
[INFO] [stderr]    |          because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr]    = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 15 - /// The [`Iterator`](core::iter::Iterator)-implementing struct through which the functionality of
[INFO] [stderr] 15 + /// The [`Iterator`]-implementing struct through which the functionality of
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:24:22
[INFO] [stderr]    |
[INFO] [stderr] 24 | /// The [`Iterator`](core::iter::Iterator)-implementing struct through which the functionality of
[INFO] [stderr]    |          ----------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |          |
[INFO] [stderr]    |          because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 24 - /// The [`Iterator`](core::iter::Iterator)-implementing struct through which the functionality of
[INFO] [stderr] 24 + /// The [`Iterator`]-implementing struct through which the functionality of
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:158:65
[INFO] [stderr]     |
[INFO] [stderr] 158 | /// that turns implementers of it into an instance of [`IncBy`][crate::IncBy] when
[INFO] [stderr]     |                                                        -------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                        |
[INFO] [stderr]     |                                                        because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 158 - /// that turns implementers of it into an instance of [`IncBy`][crate::IncBy] when
[INFO] [stderr] 158 + /// that turns implementers of it into an instance of [`IncBy`] when
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:185:65
[INFO] [stderr]     |
[INFO] [stderr] 185 | /// that turns implementers of it into an instance of [`DecBy`][crate::DecBy] when
[INFO] [stderr]     |                                                        -------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                        |
[INFO] [stderr]     |                                                        because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 185 - /// that turns implementers of it into an instance of [`DecBy`][crate::DecBy] when
[INFO] [stderr] 185 + /// that turns implementers of it into an instance of [`DecBy`] when
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:211:48
[INFO] [stderr]     |
[INFO] [stderr] 211 | /// The actual implementation of [`IntoIncBy`](crate::IntoIncBy) for
[INFO] [stderr]     |                                   -----------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 211 - /// The actual implementation of [`IntoIncBy`](crate::IntoIncBy) for
[INFO] [stderr] 211 + /// The actual implementation of [`IntoIncBy`] for
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:212:21
[INFO] [stderr]     |
[INFO] [stderr] 212 | /// [`RangeBounds`](core::ops::RangeBounds).
[INFO] [stderr]     |      -------------  ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |      |
[INFO] [stderr]     |      because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 212 - /// [`RangeBounds`](core::ops::RangeBounds).
[INFO] [stderr] 212 + /// [`RangeBounds`].
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:220:48
[INFO] [stderr]     |
[INFO] [stderr] 220 | /// The actual implementation of [`IntoDecBy`](crate::IntoDecBy) for
[INFO] [stderr]     |                                   -----------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 220 - /// The actual implementation of [`IntoDecBy`](crate::IntoDecBy) for
[INFO] [stderr] 220 + /// The actual implementation of [`IntoDecBy`] for
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:221:21
[INFO] [stderr]     |
[INFO] [stderr] 221 | /// [`RangeBounds`](core::ops::RangeBounds).
[INFO] [stderr]     |      -------------  ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |      |
[INFO] [stderr]     |      because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 221 - /// [`RangeBounds`](core::ops::RangeBounds).
[INFO] [stderr] 221 + /// [`RangeBounds`].
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `staticstep` (lib doc) generated 9 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/staticstep/index.html
[INFO] running `Command { std: "docker" "inspect" "0ac7526a415c742f12f9e44510bdf3574f30f9e5c12b1b9962733ed15e20102a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ac7526a415c742f12f9e44510bdf3574f30f9e5c12b1b9962733ed15e20102a", kill_on_drop: false }`
[INFO] [stdout] 0ac7526a415c742f12f9e44510bdf3574f30f9e5c12b1b9962733ed15e20102a