From 0aca8cab0b23cbc28630d694e106c3e5071abcaf Mon Sep 17 00:00:00 2001 From: Ethan P Date: Tue, 12 May 2020 22:06:07 -0700 Subject: [PATCH] Remove vcs_modification_markers from PrettyPrinter 'git' feature disabled --- src/pretty_printer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretty_printer.rs b/src/pretty_printer.rs index 13bd5dbc..a3f1c085 100644 --- a/src/pretty_printer.rs +++ b/src/pretty_printer.rs @@ -166,6 +166,7 @@ impl<'a> PrettyPrinter<'a> { } /// Whether to show modification markers for VCS changes + #[cfg(feature = "git")] pub fn vcs_modification_markers(&mut self, yes: bool) -> &mut Self { self.active_style_components.vcs_modification_markers = yes; self