summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-09-03 01:01:33 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-09-03 01:04:23 +0200
commit020fb3c37794fcfa2670c3c0ada949aee95855a0 (patch)
tree7f0ac0402770d9382bb7321b8660112807881ca0 /core
parent52b3f69e35f267840be202b6cb4d08e0ca7a3b08 (diff)
downloadiced-020fb3c37794fcfa2670c3c0ada949aee95855a0.tar.gz
iced-020fb3c37794fcfa2670c3c0ada949aee95855a0.tar.bz2
iced-020fb3c37794fcfa2670c3c0ada949aee95855a0.zip
Fix `iced_wgpu` device selection on Wasm
Diffstat (limited to 'core')
-rw-r--r--core/src/window/redraw_request.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/window/redraw_request.rs b/core/src/window/redraw_request.rs
index 3b4f0fd3..8a59e83c 100644
--- a/core/src/window/redraw_request.rs
+++ b/core/src/window/redraw_request.rs
@@ -13,7 +13,7 @@ pub enum RedrawRequest {
#[cfg(test)]
mod tests {
use super::*;
- use std::time::{Duration, Instant};
+ use crate::time::{Duration, Instant};
#[test]
fn ordering() {