mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
clippy: fix warnings on modules outside components (#31567)
This commit is contained in:
parent
3b19189896
commit
6c7fe31db1
9 changed files with 37 additions and 46 deletions
|
@ -7,7 +7,7 @@ use std::path::Path;
|
|||
use crate::parser::{get_default_url, location_bar_input_to_url, parse_url_or_filename};
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
const FAKE_CWD: &'static str = "/fake/cwd";
|
||||
const FAKE_CWD: &str = "/fake/cwd";
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
const FAKE_CWD: &'static str = "C:/fake/cwd";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue