Skip to content

Commit f01da43

Browse files
authored
Merge pull request #362 from dtolnay/hashlinecolumn
Implement Hash for LineColumn
2 parents 92a0295 + d4c564b commit f01da43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/location.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use core::cmp::Ordering;
44
///
55
/// This type is semver exempt and not exposed by default.
66
#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))]
7-
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
7+
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
88
pub struct LineColumn {
99
/// The 1-indexed line in the source file on which the span starts or ends
1010
/// (inclusive).

0 commit comments

Comments
 (0)