Skip to content

Commit

Permalink
Prevent an unused import warning on non desktop platforms
Browse files Browse the repository at this point in the history
opts is not used on Android for instance.
  • Loading branch information
fabricedesre committed Dec 3, 2017
1 parent 45bbbac commit e8d82a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/net/filemanager_thread.rs
Expand Up @@ -7,6 +7,7 @@ use mime_guess::guess_mime_type_opt;
use net_traits::blob_url_store::{BlobBuf, BlobURLStoreError};
use net_traits::filemanager_thread::{FileManagerResult, FileManagerThreadMsg, FileOrigin, FilterPattern};
use net_traits::filemanager_thread::{FileManagerThreadError, ReadFileProgress, RelativePos, SelectedFile};
#[cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))]
use servo_config::opts;
use servo_config::prefs::PREFS;
use std::collections::HashMap;
Expand Down

0 comments on commit e8d82a5

Please sign in to comment.