tools: Tweak scripts

This commit is contained in:
Taiki Endo
2024-01-27 23:57:26 +09:00
parent bee85d7ea7
commit dd34dd71c2
2 changed files with 3 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
error "please replace \`.cast()\` with \`.cast::<type_name>()\`:"
echo "${cast_without_turbofish}"
fi
# Sync readme and crate-level doc.
first='1'
for readme in $(git ls-files '*README.md'); do
if ! grep -q '^<!-- tidy:crate-doc:start -->' "${readme}"; then