From 1e07b95e7b7e495e8ab71cc960111a2eee1dd94c Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Wed, 12 Jan 2022 09:24:33 -0800 Subject: [PATCH] gitignore: derive `Debug` on structs --- lib/src/gitignore.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/gitignore.rs b/lib/src/gitignore.rs index 92c535d91..1fa906462 100644 --- a/lib/src/gitignore.rs +++ b/lib/src/gitignore.rs @@ -19,6 +19,7 @@ use regex::{escape as regex_escape, Regex}; pub enum GitIgnoreParseError {} +#[derive(Debug)] struct GitIgnoreLine { is_negative: bool, regex: Regex, @@ -153,6 +154,7 @@ impl GitIgnoreLine { } } +#[derive(Debug)] pub struct GitIgnoreFile { parent: Option>, lines: Vec,