Log in
Sign up
See new Tweets

Conversation

Louis Pilfold
@louispilfold
·
Jan 8, 2021
Why is it that
@rustlang
surrounds attributes with [...] ?
Image
8
6
60
Brendan Zabarauskas
@brendanzab
Replying to
@louispilfold
and
@rustlang
I think I remember folks talking about wanting to change the attribute syntax prior to 1.0:
github.com
Change inner attribute syntax for clarity and consistency · Issue #2569 · rust-lang/rust
As discussed in #2568, the trailing semicolon to differentiate 'inner' from 'outer' attributes is not intuitive. Also, #2498 will add doc comments as a special form ...
5:25 PM · Jan 8, 2021·Twitter Web App
5
Likes
Brendan Zabarauskas
@brendanzab
·
Jan 8, 2021
Replying to
@brendanzab
@louispilfold
and
@rustlang
Also suggesting switching to a Java style of syntax: https://github.com/rust-lang/rfcs/pull/483…
5