Skip to content

Commit d4c564b

Browse files
committed
Implement Hash for LineColumn
1 parent 92a0295 commit d4c564b

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)