Remove vcs_modification_markers from PrettyPrinter 'git' feature disabled

This commit is contained in:
Ethan P 2020-05-12 22:06:07 -07:00
parent d08d1f8c45
commit 0aca8cab0b
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA
1 changed files with 1 additions and 0 deletions

View File

@ -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