const-init 1.0.0

A simple trait for things that are const initializable
Documentation

Build #3445262 2026-05-31 22:26:37

# rustc version rustc 1.98.0-nightly (f8a08b688 2026-05-30)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# 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" "06968918f08bf2f2f859c2e133d89ac5674b1458dfd2224bc52a0cd96ae41847" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260530-1.98.0-nightly-f8a08b688\", \"--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 const-init v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | /// Think of it like the [`Default`](core::default::Default) trait, but [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] 7 - /// Think of it like the [`Default`](core::default::Default) trait, but [INFO] [stderr] 7 + /// Think of it like the [`Default`] trait, but [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `const-init` (lib doc) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/const_init/index.html [INFO] running `Command { std: "docker" "inspect" "06968918f08bf2f2f859c2e133d89ac5674b1458dfd2224bc52a0cd96ae41847", kill_on_drop: false }`