commit | ed21fad34d6fe9b1699a7a4f92fc4663b9f532d8 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Apr 22 17:34:09 2019 -0700 |
committer | GitHub <noreply@github.com> | Mon Apr 22 17:34:09 2019 -0700 |
tree | 6da4e89ff117d1db3be363d4ca560bcac20d2c24 | |
parent | dd7a2a3b7882fdf9fd1e653c76c4ab7df8d0047b [diff] | |
parent | 6c3b0705ee2e409044029de1b180d8464f6e16e6 [diff] |
Merge pull request #173 from dtolnay/sourcemap Rename codemap to source map
diff --git a/src/lib.rs b/src/lib.rs index 6b0d484..bcefc7a 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -301,6 +301,7 @@ /// /// This type is semver exempt and not exposed by default. #[cfg(span_locations)] +#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub struct LineColumn { /// The 1-indexed line in the source file on which the span starts or ends /// (inclusive).