Re:Learn Go in five minutes
by brundolf on Tuesday January 05, 2021 @12:26PM
(#25647993)
#[...] is an attribute, more like @foo annotations in Java, not a comment. Comments do not use # in Rust
[ Parent
| on HN ]
Re:Learn Go in five minutes
by corytheboyd on Tuesday January 05, 2021 @12:32PM
(#25648091)
> Comments do not use # in Rust
Oof what a dumb mistake, sorry about that!
Re:Learn Go in five minutes
by felipellrocha on Tuesday January 05, 2021 @02:35PM
(#25649922)
It's ok. Other people probably had the same question!