1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

Added filename to top of .rs files

This commit is contained in:
Robert Lugg
2018-02-21 22:09:53 -08:00
parent c4b3252845
commit 7d7a48b17d
48 changed files with 50 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// macros1.rs
// Make me compile! Scroll down for hints :)
macro_rules! my_macro {

View File

@ -1,3 +1,4 @@
// macros2.rs
// Make me compile! Scroll down for hints :)
fn main() {

View File

@ -1,3 +1,4 @@
// macros3.rs
// Make me compile, without taking the macro out of the module! Scroll down for hints :)
mod macros {

View File

@ -1,3 +1,4 @@
// macros4.rs
// Make me compile! Scroll down for hints :)
macro_rules! my_macro {