mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
style: use 'Self' to refer to own type (clippy::use_self) (#6735)
--------- Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ pub struct VcshConfig<'a> {
|
||||
|
||||
impl Default for VcshConfig<'_> {
|
||||
fn default() -> Self {
|
||||
VcshConfig {
|
||||
Self {
|
||||
symbol: "",
|
||||
style: "bold yellow",
|
||||
format: "vcsh [$symbol$repo]($style) ",
|
||||
|
||||
Reference in New Issue
Block a user