Fix tidy errors

This commit is contained in:
Guillaume Gomez 2024-12-03 16:12:08 +01:00
parent 65fedebfc4
commit 91f6e000c2
3 changed files with 4 additions and 2 deletions

View file

@ -92,7 +92,7 @@ SPDX-FileCopyrightText = "2015 Anders Kaseorg <andersk@mit.edu>"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "src/librustdoc/html/static/fonts/FiraSans**"
path = "src/librustdoc/html/static/fonts/Fira**"
precedence = "override"
SPDX-FileCopyrightText = ["2014, Mozilla Foundation", "2014, Telefonica S.A."]
SPDX-License-Identifier = "OFL-1.1"

View file

@ -113,6 +113,8 @@
{
"directories": [],
"files": [
"FiraMono-Medium.woff2",
"FiraMono-Regular.woff2",
"FiraSans-LICENSE.txt",
"FiraSans-Medium.woff2",
"FiraSans-Regular.woff2"

View file

@ -134,7 +134,7 @@ mod os_impl {
&mut |entry| {
let file = entry.path();
let extension = file.extension();
let scripts = ["py", "sh", "ps1"];
let scripts = ["py", "sh", "ps1", "woff2"];
if scripts.into_iter().any(|e| extension == Some(OsStr::new(e))) {
return;
}