Skip to content

Commit 09398f0

Browse files
zachlutesunjay
authored andcommitted
Fix cargo doc warning by explicitly matching /README.md in Cargo.toml
1 parent f5517d0 commit 09398f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ license = "MPL-2.0"
1414
# Ignore all files so we can explicitly whitelist what we want to be included in
1515
# the package
1616
exclude = ["*"]
17-
include = ["README.md", "LICENSE", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md",
17+
include = ["/README.md", "LICENSE", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md",
1818
"CHANGELOG.md", "src/**/*.rs", "examples/**/*.rs", "examples/**/*.txt",
1919
"tests/**/*.rs", "Cargo.toml", ".rustfmt.toml", "rust-toolchain"]
2020

0 commit comments

Comments
 (0)