mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Auto merge of #11788 - UK992:warnings, r=jdm
Silent some warnings - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because only silent some warnings <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11788) <!-- Reviewable:end -->
This commit is contained in:
commit
95941cb4df
2 changed files with 16 additions and 16 deletions
|
@ -48,14 +48,14 @@ impl UIProvider for TFDProvider {
|
|||
}
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
|
||||
fn open_file_dialog(&self, path: &str,
|
||||
filter: Option<(&[&str], &str)>) -> Option<String> {
|
||||
fn open_file_dialog(&self, _path: &str,
|
||||
_filter: Option<(&[&str], &str)>) -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
|
||||
fn open_file_dialog_multi(&self, path: &str,
|
||||
filter: Option<(&[&str], &str)>) -> Option<Vec<String>> {
|
||||
fn open_file_dialog_multi(&self, _path: &str,
|
||||
_filter: Option<(&[&str], &str)>) -> Option<Vec<String>> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue