From aef123dac81b50d48598d2a233037b942b26e6d1 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 11 Apr 2024 08:46:19 -0700 Subject: [PATCH] fix(webserver): fix cpp enum warning (#1824) --- ee/tabby-webserver/src/schema/analytic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/tabby-webserver/src/schema/analytic.rs b/ee/tabby-webserver/src/schema/analytic.rs index 943bdae3fc40..5d473c4fc4f4 100644 --- a/ee/tabby-webserver/src/schema/analytic.rs +++ b/ee/tabby-webserver/src/schema/analytic.rs @@ -26,7 +26,7 @@ pub enum Language { Ruby, CSharp, C, - CPP, + Cpp, Solidity, Other, } @@ -48,7 +48,7 @@ impl Language { Language::Ruby => vec!["ruby"], Language::CSharp => vec!["csharp"], Language::C => vec!["c"], - Language::CPP => vec!["cpp"], + Language::Cpp => vec!["cpp"], Language::Solidity => vec!["solidity"], Language::Other => vec!["other"], }