refactor: comment out unused code in line
All checks were successful
Test / test (push) Successful in 7s
All checks were successful
Test / test (push) Successful in 7s
It will probably be uncommented again soon.
This commit is contained in:
parent
61351ba07a
commit
92811bc074
1 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
#![allow(dead_code)]
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use bon::Builder;
|
||||
|
@ -18,15 +18,15 @@ pub struct Line {
|
|||
value: String,
|
||||
}
|
||||
impl Line {
|
||||
pub fn file(&self) -> &Path {
|
||||
&self.file
|
||||
}
|
||||
pub fn num(&self) -> usize {
|
||||
self.num
|
||||
}
|
||||
pub fn value(&self) -> &str {
|
||||
&self.value
|
||||
}
|
||||
// pub fn file(&self) -> &Path {
|
||||
// &self.file
|
||||
// }
|
||||
// pub fn num(&self) -> usize {
|
||||
// self.num
|
||||
// }
|
||||
// pub fn value(&self) -> &str {
|
||||
// &self.value
|
||||
// }
|
||||
|
||||
pub fn into_marker(self) -> Result<Marker> {
|
||||
if marker_pattern()?.find(&self.value).is_some() {
|
||||
|
|
Loading…
Reference in a new issue