on master help sign in
Remove vcs_modification_markers from PrettyPrinter 'git' feature disabled
commit0aca8cab0b23cbc28630d694e106c3e5071abcaf authorEthan P <eth-p+git@hidden.email> dateTue 12 May 2020, 22:06 (6 years ago) parentd08d1f8
1 file changed+1
src/pretty_printer.rs+1
src/pretty_printer.rs+1
@@ -166,6 +166,7 @@ impl<'a> PrettyPrinter<'a> {
166166 }
167167
168168 /// Whether to show modification markers for VCS changes
169+ #[cfg(feature = "git")]
169170 pub fn vcs_modification_markers(&mut self, yes: bool) -> &mut Self {
170171 self.active_style_components.vcs_modification_markers = yes;
171172 self