diff options
Diffstat (limited to 'src/style/colours.rs')
-rw-r--r-- | src/style/colours.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/style/colours.rs b/src/style/colours.rs index debda16..4190330 100644 --- a/src/style/colours.rs +++ b/src/style/colours.rs @@ -109,12 +109,12 @@ pub struct Git { } impl Colours { - pub fn plain() -> Colours { - Colours::default() + pub fn plain() -> Self { + Self::default() } - pub fn colourful(scale: bool) -> Colours { - Colours { + pub fn colourful(scale: bool) -> Self { + Self { colourful: true, filekinds: FileKinds { |