I waited like 1 hours and my horse did not pooped.
Why you closed? It's not solved.
This is the issue tracker for the Rust programming language. It has nothing to do with horses or pooping.
do it like this
struct Horse;
struct Poop;
trait Animal { fn poop(&mut self) -> Poop { Poop } }
impl Animal for Horse { }
fn main() {
let mut horse = Horse;
horse.poop();
}
Most helpful comment
do it like this