Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
th1000s committed May 1, 2024
1 parent 3c6c50e commit 59d747f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/options/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ where
T::get_option_value(option_name, builtin_features, opt, git_config)
}

static GIT_CONFIG_THEME_REGEX: &str = r#"^delta\.(.+)\.(light|dark)$"#;
static GIT_CONFIG_THEME_REGEX: &str = r"^delta\.(.+)\.(light|dark)$";

pub fn get_themes(git_config: Option<git_config::GitConfig>) -> Vec<String> {
let mut themes: Vec<String> = Vec::new();
Expand Down
2 changes: 1 addition & 1 deletion src/wrapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ where
if must_wrap {
wrapped.append(&mut wrap_line(
config,
input_vec.into_iter(),
input_vec,
line_width,
fill_style,
inline_hint_style,
Expand Down

0 comments on commit 59d747f

Please sign in to comment.