mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Move codemap doc comments to the proper place
This commit is contained in:
parent
1f3303163c
commit
9fc75e8d66
@ -1,3 +1,9 @@
|
||||
/*! A codemap is a thing that maps uints to file/line/column positions
|
||||
* in a crate. This to make it possible to represent the positions
|
||||
* with single-word things, rather than passing records all over the
|
||||
* compiler.
|
||||
*/
|
||||
|
||||
use dvec::DVec;
|
||||
use std::serialization::{Serializable,
|
||||
Deserializable,
|
||||
@ -46,12 +52,6 @@ impl file_pos : cmp::Eq {
|
||||
pure fn ne(other: &file_pos) -> bool { !self.eq(other) }
|
||||
}
|
||||
|
||||
/* A codemap is a thing that maps uints to file/line/column positions
|
||||
* in a crate. This to make it possible to represent the positions
|
||||
* with single-word things, rather than passing records all over the
|
||||
* compiler.
|
||||
*/
|
||||
|
||||
enum file_substr {
|
||||
fss_none,
|
||||
fss_internal(span),
|
||||
|
Loading…
Reference in New Issue
Block a user