Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
d3d768de0d8af96b51cdcdadde511028d3b3d87f
rust/crates/syntax/test_data/parser/ok/0065_comment_newline.rs

4 lines
26 B
Rust
Raw Normal View History

Attach doc-comment to declaration if there are newlines in between This commit changes the parser to attach doc-comments to the corresponding declaration in case there are newlines in between the doc-comment and the declaration.
2020-03-31 14:19:21 +02:00
/// Example
fn test() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 349ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API