You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says really, when I modify a file that git doesn't know about and run cargo doc, cargo doesn't realise it has changed and doesn't bother to update the docs.
Reproduction:
cargo new
Add doc comment to src\lib.rs
cargo doc - docs are built
Modify doc comment
cargo doc - docs are not built
git add src\lib.rs
cargo doc - docs are built
Modify documentation
cargo doc - docs are built
The text was updated successfully, but these errors were encountered:
Closes#797Closes#1575
This is a reopening of #1170 but I see the two closed issues as important enough that this needs to land in some form or another, and I'm more comfortable with always taking into account untracked files than only if there isn't a commit yet.
As the title says really, when I modify a file that git doesn't know about and run
cargo doc
, cargo doesn't realise it has changed and doesn't bother to update the docs.Reproduction:
cargo new
cargo doc
- docs are builtcargo doc
- docs are not builtgit add src\lib.rs
cargo doc
- docs are builtcargo doc
- docs are builtThe text was updated successfully, but these errors were encountered: