From 92811bc074ee4995d2342f17217a5394e5035d16 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 19 Sep 2024 12:28:13 +0100 Subject: [PATCH] refactor: comment out unused code in line It will probably be uncommented again soon. --- src/model/line.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/model/line.rs b/src/model/line.rs index 60fd971..edea0f5 100644 --- a/src/model/line.rs +++ b/src/model/line.rs @@ -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 { if marker_pattern()?.find(&self.value).is_some() {