mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
chore: fix clippy warnings for rust v1.83 & current nightly (#6413)
* chore: fix clippy warning for rust v1.83 * chore: fix clippy warning for nightly rust
This commit is contained in:
@@ -16,7 +16,7 @@ pub struct GitMetricsConfig<'a> {
|
||||
pub ignore_submodules: bool,
|
||||
}
|
||||
|
||||
impl<'a> Default for GitMetricsConfig<'a> {
|
||||
impl Default for GitMetricsConfig<'_> {
|
||||
fn default() -> Self {
|
||||
GitMetricsConfig {
|
||||
added_style: "bold green",
|
||||
|
||||
Reference in New Issue
Block a user