mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
chore: silence unused import warning in app_state.rs (#35612)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
b45f05c705
commit
4d1e9f19b5
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ use std::cell::{Ref, RefCell, RefMut};
|
|||
use std::collections::HashMap;
|
||||
use std::path::PathBuf;
|
||||
use std::rc::Rc;
|
||||
use std::thread;
|
||||
|
||||
use euclid::Vector2D;
|
||||
use image::DynamicImage;
|
||||
|
@ -598,7 +597,7 @@ impl WebViewDelegate for RunningAppState {
|
|||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn platform_get_selected_devices(devices: Vec<String>) -> Option<String> {
|
||||
thread::Builder::new()
|
||||
std::thread::Builder::new()
|
||||
.name("DevicePicker".to_owned())
|
||||
.spawn(move || {
|
||||
let dialog_rows: Vec<&str> = devices.iter().map(|s| s.as_ref()).collect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue