diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-12 16:45:24 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-12 16:45:24 -0800 |
| commit | 9fc75e8d661e094e50f4d651c8a48b8c948c2e31 (patch) | |
| tree | 0346768b4f90c630a226d66037e0d6601390bddb /src/libsyntax | |
| parent | 1f3303163c3f4a725b29de5e00eb14a5c53dd16e (diff) | |
| download | rust-9fc75e8d661e094e50f4d651c8a48b8c948c2e31.tar.gz rust-9fc75e8d661e094e50f4d651c8a48b8c948c2e31.zip | |
Move codemap doc comments to the proper place
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/codemap.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index ec7d3146bb9..d8c39f111c6 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -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), |
