From 1f2380a312f50f27f7d3a4590c3fe30d97310212 Mon Sep 17 00:00:00 2001 From: Sateesh Basavaraju Date: Thu, 13 May 2021 21:54:50 +0530 Subject: [PATCH] Address review comments: make comment inline, fix format in print. --- exercises/option/option3.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/exercises/option/option3.rs b/exercises/option/option3.rs index e45fb8f..045d2ac 100644 --- a/exercises/option/option3.rs +++ b/exercises/option/option3.rs @@ -12,9 +12,8 @@ fn main() { let y: Option = Some(Point { x: 100, y: 200 }); match y { - Some(p) => println!("Co-ordinates are{},{} ", p.x, p.y), + Some(p) => println!("Co-ordinates are {},{} ", p.x, p.y), _ => println!("no match"), } - // Fix without deleting this line. - y; + y; // Fix without deleting this line. }