diff --git a/src/stack.rs b/src/stack.rs
index 5cc88f04e30ae8c3585cf022a341acf505d8c470..b75c528154c577a76f94f3f6832bce93b02dfb49 100644
--- a/src/stack.rs
+++ b/src/stack.rs
@@ -1,5 +1,4 @@
 use crate::Stack;
-use std::mem;
 // TODO Complete implementation
 impl Stack for Vec<i32> {
     fn init() -> Self {
@@ -57,7 +56,7 @@ impl Stack for ListStack {
         
         match self {
             //mem:replace notwendig da liststack keinen copytrait hat und wir so nicht ownership wechseln koennen             
-            Val(value, other) => *self = Val(i,Some(Box::new(std::mem::replace(self, Nil)))),
+            Val(_value, _other) => *self = Val(i,Some(Box::new(std::mem::replace(self, Nil)))),
             //zeigt urspruenglich auf nil  => fuege ein und mache restliste zu nil
             Nil => *self = Val(i,None),
         };
@@ -67,7 +66,7 @@ impl Stack for ListStack {
     fn top_val(&self) -> Option<&i32> {
             match self{
                 Nil => None,
-                Val(value, other) => Some(value),
+                Val(value, _other) => Some(value),
         
             }
 
@@ -92,7 +91,7 @@ impl Stack for ListStack {
     fn is_empty(&self) -> bool {
         match self{
             Nil => true,
-            Val(value,other) => false,
+            Val(_value,_other) => false,
         }
     }
 }