Add docs for bin source, not lib source code
If a crate has both a lib and a bin target, cargo will prefer to
generate for the library target[1]. By renaming the library target, we
force cargo to document the binary instead.
[1]: 3b379fcc54/src/doc/src/reference/cargo-targets.md (the-doc-field)
pull/146/head
parent
b97fd36ad5
commit
1f3cd0446d
Loading…
Reference in New Issue