diff --git a/src/k_macros.rs b/src/k_macros.rs index d2f9153..83d5c23 100644 --- a/src/k_macros.rs +++ b/src/k_macros.rs @@ -9,7 +9,7 @@ // Your task here is to create an analogous macro for creating hashmaps pre-populated with literal // values. The macro should be called like follows: // -// let map1: HashMap = map![1 =>2, 3 => 4, 5 => 6]; +// let map1: HashMap = map![1 => 2, 3 => 4, 5 => 6]; #[macro_export] macro_rules! map { ( $($todo:tt)* ) => { @@ -94,7 +94,7 @@ mod tests { Foo: u32 = 10; // should generate `pub struct Bar` that implements `Get` pub Bar: u32 = 42; - // should generate `pub struct Baz` that has implements `Get`. + // should generate `pub struct Baz` that implements `Get`. pub Baz: u16 = 21; );