mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-10-30 07:06:27 +01:00
Convert other exercises that have assertions to test mode
This commit is contained in:
@@ -35,6 +35,7 @@ impl Planet {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn main() {
|
||||
let sun = Rc::new(Sun {});
|
||||
println!("reference count = {}", Rc::strong_count(&sun)); // 1 reference
|
||||
|
||||
Reference in New Issue
Block a user