aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/suggestion.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/suggestion.rs b/src/suggestion.rs
index b89bd55..baf41d8 100644
--- a/src/suggestion.rs
+++ b/src/suggestion.rs
@@ -95,16 +95,6 @@ impl Suggestion {
)
}
- fn suggestion_patch(&self) -> String {
- let re = Regex::new(r"(?s).*(?-s)```\s*suggestion.*\n").unwrap();
- let s = re.replace(&self.comment, "+");
- s.replace("```", "")
- }
-
- fn suggestion(&self) -> String {
- self.suggestion_with_line_ending(&LineEnding::Lf)
- }
-
fn suggestion_with_line_ending(&self, line_ending: &LineEnding) -> String {
let re = Regex::new(r"(?s).*(?-s)```\s*suggestion.*\n").unwrap();
let s = re.replace(&self.comment, "");