cpp_formatter 0.3.0

A C++ formatter with clang-format's configuration surface.
Documentation

Build #5245403 2026-11-10 13:18:44

# rustc version rustc 1.102.0-nightly (ac8310ba6 2026-11-09)

# docs.rs version docsrs 0.0.0 (b658295340a2631b346d661cc222ab88c9b09348 2026-11-06 )

# build log [INFO] adding target x86_64-unknown-linux-gnu for toolchain nightly [INFO] running `"rustup" "target" "add" "--toolchain" "nightly" "x86_64-unknown-linux-gnu"` [INFO] [stderr] info: component rust-std is up to date [INFO] running `"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" "77301342c8313331420796159d9533108b4815751a8a387583771b45d4aab2a5" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20261109-1.102.0-nightly-ac8310ba6\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples"` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting cpp_formatter v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: `format` is both a function and a macro [INFO] [stderr] --> src/lib.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | //! sits. Until then [`format`] keeps the input's line structure, which makes the tool safe to run on a file and [INFO] [stderr] | ^^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 15 | //! sits. Until then [`format()`] keeps the input's line structure, which makes the tool safe to run on a file and [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 15 | //! sits. Until then [`format!`] keeps the input's line structure, which makes the tool safe to run on a file and [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `cpp_formatter` (lib doc) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/cpp_formatter/index.html [INFO] running `"docker" "inspect" "77301342c8313331420796159d9533108b4815751a8a387583771b45d4aab2a5"`