From d7341269c99e422294b143733021835334301a53 Mon Sep 17 00:00:00 2001 From: polsevev Date: Tue, 24 Jan 2023 16:25:03 +0100 Subject: [PATCH] Removed dependency on unstable feature --- src/Algorithm.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Algorithm.rs b/src/Algorithm.rs index b0428b7..26743af 100644 --- a/src/Algorithm.rs +++ b/src/Algorithm.rs @@ -1,7 +1,7 @@ use crate::BarPlugin::Bar; use crate::GuiHookVec::GuiVec; -use std::ops::{Generator, GeneratorState}; + use std::pin::Pin; use std::rc::Rc; use std::thread::yield_now; diff --git a/src/main.rs b/src/main.rs index 969e2ab..14e4703 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -#![feature(generators, generator_trait, type_alias_impl_trait)] + mod BarPlugin; mod GuiHookVec; mod Algorithm;