Skip to content

Commit 86b19d4

Browse files
committed
docs | multiline.rs
1 parent f89fe32 commit 86b19d4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
//! Test that basic multiline comments are parsed correctly.
2+
//!
3+
//! This checks that the lexer properly handles `/* */` style comments
4+
//! without causing parsing errors.
5+
//!
6+
//! Feature implementation test for <https://github.com/rust-lang/rust/issues/66>.
7+
18
//@ run-pass
29

310
/*
4-
* This is a multi-line oldcomment.
11+
* This is a multi-line comment.
512
*/
6-
pub fn main() { }
13+
pub fn main() {}

0 commit comments

Comments
 (0)