/** -> ///
This is considered good convention.
This commit is contained in:
parent
689ef2dabf
commit
f38e4e6d97
45 changed files with 1361 additions and 1658 deletions
|
@ -83,12 +83,10 @@ impl Sub<CharPos,CharPos> for CharPos {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Spans represent a region of code, used for error reporting. Positions in spans
|
||||
are *absolute* positions from the beginning of the codemap, not positions
|
||||
relative to FileMaps. Methods on the CodeMap can be used to relate spans back
|
||||
to the original source.
|
||||
*/
|
||||
/// Spans represent a region of code, used for error reporting. Positions in spans
|
||||
/// are *absolute* positions from the beginning of the codemap, not positions
|
||||
/// relative to FileMaps. Methods on the CodeMap can be used to relate spans back
|
||||
/// to the original source.
|
||||
#[deriving(Clone, Show, Hash)]
|
||||
pub struct Span {
|
||||
pub lo: BytePos,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue