chore: Alter whitespace for consistency

* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
This commit is contained in:
Benjamin Jones
2020-07-10 19:01:38 -07:00
committed by Benjamin Jones
parent 106dbbc341
commit bb5f404e35
10 changed files with 34 additions and 29 deletions

View File

@@ -2,6 +2,7 @@
// Rewrite it using generics so that it supports wrapping ANY type.
// I AM NOT DONE
struct Wrapper {
value: u32
}
@@ -18,11 +19,11 @@ mod tests {
#[test]
fn store_u32_in_wrapper() {
assert_eq!(Wrapper::new(42).value, 42);
assert_eq!(Wrapper::new(42).value, 42);
}
#[test]
fn store_str_in_wrapper() {
assert_eq!(Wrapper::new("Foo").value, "Foo");
}
}
}