On Wed, May 1, 2013 at 5:44 PM, John Clements <cleme...@brinckerhoff.org> wrote: > > On May 1, 2013, at 10:57 AM, Graydon Hoare wrote: > >> On 13-05-01 10:32 AM, Lucian Branescu wrote: >>> Is it too late/undesirable to have an explicit, separate syntax for >>> docstrings, a bit like Lisps/Python? >> >> We have one: #[doc="..."] >> >> Doc comments are an alternative syntax for the same attribute because >> nobody liked that. > > I would have, but... c'est la vie. > > John
The attribute syntax would get ugly pretty quickly for multi-line docstrings (which is hopefully eventually most, when they have examples). _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev