Closed
Description
Hi. I have a question.
https://github.com/dtolnay/syn/blob/master/src/attr.rs#L119-L150
The above code tells me that doc comments like /// foobar
are transformed into #[doc = r"foobar"]
.
However, The Rust Reference says:
/// Foo turns into #[doc="Foo"] and /** Bar */ turns into #[doc="Bar"].
Why does this crate parse doc comments as raw string, unlike the rust compiler?
Metadata
Metadata
Assignees
Labels
No labels