diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-04 09:51:48 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-04 09:58:54 -0400 |
commit | c864695d84ddfabcd65fd2311a78c6c9bcb14235 (patch) | |
tree | ff53465362ab219e50d1023ed469bed196562497 /src/config.rs | |
parent | a02e82e76cc7485f7c19f13f91082b74a6346646 (diff) |
Improve implementation of diff
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 1005a782..5a01a771 100644 --- a/src/config.rs +++ b/src/config.rs @@ -175,8 +175,8 @@ pub fn get_config<'a>( null_syntect_style: SyntectStyle::default(), max_buffered_lines: 32, paging_mode, - minus_file: opt.minus_file, - plus_file: opt.plus_file, + minus_file: opt.minus_file.map(|s| s.clone()), + plus_file: opt.plus_file.map(|s| s.clone()), } } |