Fix tidy errors
This commit is contained in:
parent
65fedebfc4
commit
91f6e000c2
3 changed files with 4 additions and 2 deletions
|
@ -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 @@ 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue