struct Philosopher {
    name: String
}

impl Philosopher {
    fn new(name: &str) -> Philosopher {
        Philosopher {
            name: name.to_string()
        }
    }
}

fn main() {

}

struct Philosopher {
    name: String
}

fn main() {

}

--- 
+++ 
@@ -1,13 +1,5 @@
 struct Philosopher {
     name: String
-}
-
-impl Philosopher {
-    fn new(name: &str) -> Philosopher {
-        Philosopher {
-            name: name.to_string()
-        }
-    }
 }
 
 fn main() {
Add associated function `new()` to `Philosopher`
