From 08071aae393a83f916c3993f5fc84ff70efa6e56 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sun, 19 Mar 2017 10:10:48 -0400 Subject: [PATCH] Word wrap for the playground --- macros/macros1.rs | 5 +++-- macros/macros2.rs | 8 ++++---- macros/macros3.rs | 8 ++++---- macros/macros4.rs | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/macros/macros1.rs b/macros/macros1.rs index b2f48e4..0e964ac 100644 --- a/macros/macros1.rs +++ b/macros/macros1.rs @@ -58,5 +58,6 @@ fn main() { -// When you call a macro, you need to add something special compared to a regular function call. If -// you're stuck, take a look at what's inside `my_macro`. +// When you call a macro, you need to add something special compared to a +// regular function call. If you're stuck, take a look at what's inside +// `my_macro`. diff --git a/macros/macros2.rs b/macros/macros2.rs index 040dc7f..bd5a82c 100644 --- a/macros/macros2.rs +++ b/macros/macros2.rs @@ -58,8 +58,8 @@ macro_rules! my_macro { -// Macros don't quite play by the same rules as the rest of Rust, in terms of what's available -// where. +// Macros don't quite play by the same rules as the rest of Rust, in terms of +// what's available where. @@ -68,5 +68,5 @@ macro_rules! my_macro { -// Unlike other things in Rust, the order of "where you define a macro" versus "where you use it" -// actually matters. +// Unlike other things in Rust, the order of "where you define a macro" versus +// "where you use it" actually matters. diff --git a/macros/macros3.rs b/macros/macros3.rs index 8d8da38..8281445 100644 --- a/macros/macros3.rs +++ b/macros/macros3.rs @@ -60,8 +60,8 @@ fn main() { -// In order to use a macro outside of its module, you need to do something special to the module to -// lift the macro out into its parent. +// In order to use a macro outside of its module, you need to do something +// special to the module to lift the macro out into its parent. @@ -70,5 +70,5 @@ fn main() { -// The same trick also works on "extern crate" statements for crates that have exported macros, if -// you've seen any of those around. +// The same trick also works on "extern crate" statements for crates that have +// exported macros, if you've seen any of those around. diff --git a/macros/macros4.rs b/macros/macros4.rs index 57dc431..a15e171 100644 --- a/macros/macros4.rs +++ b/macros/macros4.rs @@ -72,5 +72,5 @@ fn main() { -// The way macros are written, it wants to see something between each "macro arm", so it can -// separate them. +// The way macros are written, it wants to see something between each +// "macro arm", so it can separate them.