From 9fc75e8d661e094e50f4d651c8a48b8c948c2e31 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 12 Nov 2012 16:45:24 -0800 Subject: [PATCH] Move codemap doc comments to the proper place --- src/libsyntax/codemap.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index ec7d3146bb95..d8c39f111c6c 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),