Skip to content

Commit

Permalink
Merge pull request #298 from Kile-Asmussen/master
Browse files Browse the repository at this point in the history
Made LineCol Copy
  • Loading branch information
kevinmehall authored May 14, 2022
2 parents 40a0049 + 816ea5b commit aec7952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peg-runtime/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::{Parse, ParseElem, ParseLiteral, ParseSlice, RuleResult};
use std::fmt::Display;

/// Line and column within a string
#[derive(PartialEq, Eq, Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone, Copy)]
pub struct LineCol {
/// Line (1-indexed)
pub line: usize,
Expand Down

0 comments on commit aec7952

Please sign in to comment.