mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Fix tidy errors
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
@@ -113,6 +113,8 @@
|
||||
{
|
||||
"directories": [],
|
||||
"files": [
|
||||
"FiraMono-Medium.woff2",
|
||||
"FiraMono-Regular.woff2",
|
||||
"FiraSans-LICENSE.txt",
|
||||
"FiraSans-Medium.woff2",
|
||||
"FiraSans-Regular.woff2"
|
||||
|
||||
@@ -134,7 +134,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
||||
&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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user