Sha256: 69926ef84b81a3192c371d1a460594eaa7208a0817f323baaff4bdf0bce72cef
Contents?: true
Size: 740 Bytes
Versions: 346
Compression:
Stored size: 740 Bytes
Contents
// The code below is a stub. Just enough to satisfy the compiler. // In order to pass the tests you can add-to or change any of this code. #![allow(unused_variables)] pub struct Duration; impl From<u64> for Duration { fn from(s: u64) -> Self { unimplemented!() } } pub trait Planet { fn years_during(d: &Duration) -> f64 { unimplemented!(); } } pub struct Mercury; pub struct Venus; pub struct Earth; pub struct Mars; pub struct Jupiter; pub struct Saturn; pub struct Uranus; pub struct Neptune; impl Planet for Mercury {} impl Planet for Venus {} impl Planet for Earth {} impl Planet for Mars {} impl Planet for Jupiter {} impl Planet for Saturn {} impl Planet for Uranus {} impl Planet for Neptune {}
Version data entries
346 entries across 346 versions & 1 rubygems