ref-cast 1.0.23

Safely cast &T to &U where the struct U contains a single field of type T.
Documentation
Build #1212044 2024-05-07T04:08:37.671088+00:00
# rustc version
rustc 1.80.0-nightly (7d83a4c13 2024-05-06)# docs.rs version
docsrs 0.6.0 (7c63657e 2024-05-03)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ref-cast-1.0.23/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ref-cast-1.0.23/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--generate-link-to-definition\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240506-1.80.0-nightly-7d83a4c13\", \"--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] 3ff10900e5dae6249616629581fa531c22e1bf123f22fad5867ebb7da6526fd7
[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" "3ff10900e5dae6249616629581fa531c22e1bf123f22fad5867ebb7da6526fd7", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting ref-cast v1.0.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/ref_cast/index.html
[INFO] running `Command { std: "docker" "inspect" "3ff10900e5dae6249616629581fa531c22e1bf123f22fad5867ebb7da6526fd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ff10900e5dae6249616629581fa531c22e1bf123f22fad5867ebb7da6526fd7", kill_on_drop: false }`
[INFO] [stdout] 3ff10900e5dae6249616629581fa531c22e1bf123f22fad5867ebb7da6526fd7