diff options
author | Dan Davison <dandavison7@gmail.com> | 2019-07-16 10:00:29 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2019-07-16 10:00:29 -0400 |
commit | 40f5119e93f0cd9ad33d843ede71c8a673f5e7df (patch) | |
tree | e4b6c3ef42dfa2f49430f935e9e7d68968806810 /src/paint.rs | |
parent | 56dc77f25704fbdeb5b53206c27419137de8263f (diff) |
Rename module
Diffstat (limited to 'src/paint.rs')
-rw-r--r-- | src/paint.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paint.rs b/src/paint.rs index 40923f1e..249ed98f 100644 --- a/src/paint.rs +++ b/src/paint.rs @@ -5,7 +5,7 @@ use syntect::highlighting::{Style, StyleModifier}; use syntect::parsing::SyntaxReference; use crate::config; -use crate::detail; +use crate::edits; use crate::paint::superimpose_style_sections::superimpose_style_sections; use crate::style; @@ -121,7 +121,7 @@ impl<'a> Painter<'a> { Vec<Vec<(StyleModifier, String)>>, ) { if self.minus_lines.len() == self.plus_lines.len() { - detail::get_diff_style_sections( + edits::get_diff_style_sections( &self.minus_lines, &self.plus_lines, self.config.minus_style_modifier, |