Skip to content

Commit 9fc75e8

Browse files
committed
Move codemap doc comments to the proper place
1 parent 1f33031 commit 9fc75e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libsyntax/codemap.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*! A codemap is a thing that maps uints to file/line/column positions
2+
* in a crate. This to make it possible to represent the positions
3+
* with single-word things, rather than passing records all over the
4+
* compiler.
5+
*/
6+
17
use dvec::DVec;
28
use std::serialization::{Serializable,
39
Deserializable,
@@ -46,12 +52,6 @@ impl file_pos : cmp::Eq {
4652
pure fn ne(other: &file_pos) -> bool { !self.eq(other) }
4753
}
4854

49-
/* A codemap is a thing that maps uints to file/line/column positions
50-
* in a crate. This to make it possible to represent the positions
51-
* with single-word things, rather than passing records all over the
52-
* compiler.
53-
*/
54-
5555
enum file_substr {
5656
fss_none,
5757
fss_internal(span),

0 commit comments

Comments
 (0)