This commit is contained in:
Stephen Chung
2020-08-02 15:39:08 +08:00
parent 11f2b04152
commit 73cda2d4f9
15 changed files with 409 additions and 246 deletions

View File

@@ -14,7 +14,12 @@ pub fn test_fn(input: Clonable, factor: &bool) -> bool {
}
fn main() {
let n = Clonable { a: 0.0, b: 10, c: 'a', d: true };
let n = Clonable {
a: 0.0,
b: 10,
c: 'a',
d: true,
};
if test_fn(n, &true) {
println!("yes");
} else {