From 3bb9568cef9ffa5d47cb02989c4f2b094e913f8c Mon Sep 17 00:00:00 2001 From: conao3 Date: Mon, 1 Jul 2019 04:53:33 +0900 Subject: [PATCH 1/2] fix badge label --- src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index e599659..72c34f6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,12 +28,12 @@ r#"INSERT INTO stats (hash, blanks, code, comments, lines, name) VALUES ($1, $2, const BILLION: usize = 1_000_000_000; const MILLION: usize = 1_000_000; const THOUSAND: usize = 1_000; -const BLANKS: &str = "Blank lines"; +const BLANKS: &str = "blank lines"; const BLUE: &str = "#007ec6"; -const CODE: &str = "Loc"; -const COMMENTS: &str = "Comments"; -const FILES: &str = "Files"; -const LINES: &str = "Total lines"; +const CODE: &str = "code lines"; +const COMMENTS: &str = "comments"; +const FILES: &str = "files"; +const LINES: &str = "total lines"; const RED: &str = "#e05d44"; lazy_static! { From 1c5495ef5c7480b77aeab6a1c3dff8e7b0a78d44 Mon Sep 17 00:00:00 2001 From: conao3 Date: Mon, 1 Jul 2019 04:54:36 +0900 Subject: [PATCH 2/2] use `lines of code` instead of `code lines` --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 72c34f6..8c20906 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,7 @@ const MILLION: usize = 1_000_000; const THOUSAND: usize = 1_000; const BLANKS: &str = "blank lines"; const BLUE: &str = "#007ec6"; -const CODE: &str = "code lines"; +const CODE: &str = "lines of code"; const COMMENTS: &str = "comments"; const FILES: &str = "files"; const LINES: &str = "total lines";