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 #3339743 2026-05-21 02:49:29

# rustc version rustc 1.97.0-nightly (b954122bb 2026-05-20)

# docs.rs version docsrs 0.0.0 (e50152ed411bb913753b1dfd203f22cb8711f097 2026-05-17 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "7e9762976130874b58d06f49eb93057ba68ffd3a5abc09fac6d6f5c25e0f3928" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260520-1.97.0-nightly-b954122bb\", \"--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] [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.32s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/staticstep/index.html [INFO] running `Command { std: "docker" "inspect" "7e9762976130874b58d06f49eb93057ba68ffd3a5abc09fac6d6f5c25e0f3928", kill_on_drop: false }`