Skip to content

Commit 7edccc7

Browse files
committed
Standardize rust output
1 parent 3095ea8 commit 7edccc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contents/euclidean_algorithm/code/rust/euclidean_example.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ fn euclid_rem(mut a: i64, mut b: i64) -> i64 {
2929
fn main() {
3030
let chk1 = euclid_rem(64 * 67, 64 * 81);
3131
let chk2 = euclid_sub(128 * 12, 128 * 77);
32-
println!("{}", chk1);
33-
println!("{}", chk2);
32+
println!("[#]\nModulus-based euclidean algorithm result:\n{}", chk1);
33+
println!("[#]\nSubtraction-based euclidean algorithm result:\n{}", chk2);
3434
}

0 commit comments

Comments
 (0)