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
f70086203b006c31e4a7e70f1b09a25eb8bc34a7
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: 339ms 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