From ff4c2a6adb37ec16d7a1047d2c3f72b0505ca8d0 Mon Sep 17 00:00:00 2001 From: Jeron Aldaron Lau Date: Tue, 14 Nov 2023 23:11:04 -0600 Subject: [PATCH] !wip --- stick/src/ctlr.rs | 2 +- stick/src/linux/controller.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stick/src/ctlr.rs b/stick/src/ctlr.rs index b5fd0f7..81ca970 100644 --- a/stick/src/ctlr.rs +++ b/stick/src/ctlr.rs @@ -3,7 +3,7 @@ use std::{ fmt::Debug, future::Future, pin::Pin, - rc::Rc, + sync::Arc, task::{Context, Poll}, }; diff --git a/stick/src/linux/controller.rs b/stick/src/linux/controller.rs index caf06e1..cc4bda5 100644 --- a/stick/src/linux/controller.rs +++ b/stick/src/linux/controller.rs @@ -40,7 +40,7 @@ pub(crate) fn connect(it: It) -> Option<(u64, String, Controller)> { name, Controller { queued: None, - stream: stream, + stream, device: Device::new(device, watcher, true), abs_ranges, rumble,