treewide: use Rust 2018 import paths

Rust 2018 is required for D-Bus support with tokio/zbus.
This commit is contained in:
Richard Acayan 2024-07-24 22:21:30 -04:00
parent f282a741dd
commit 78f389beaa
13 changed files with 119 additions and 135 deletions

View file

@ -3,12 +3,11 @@
* Copyright (c) 2024, Richard Acayan. All rights reserved.
*/
use core::Display;
use core::Graphics;
use core::Layout;
use core::layout::Key;
use core::layout::MODIFIERS_MAX;
use core::xkeysym::Keysym;
use crate::core::Display;
use crate::core::Graphics;
use crate::core::Layout;
use crate::core::layout::Key;
use crate::core::layout::MODIFIERS_MAX;
use std::collections::VecDeque;
use std::convert::TryInto;
use std::iter;
@ -17,6 +16,7 @@ use std::sync::Arc;
use std::sync::Mutex;
use std::time::Duration;
use std::time::Instant;
use xkeysym::Keysym;
/*
* The available states for the modifier keys.