From 10ab758aa7efa9fcd047a3cc7b43755f4279476b Mon Sep 17 00:00:00 2001 From: yuyi Date: Fri, 11 Mar 2022 20:56:48 +0800 Subject: [PATCH] ast: minor cleanup in pref_arch_to_table_language() (#13714) --- vlib/v/ast/types.v | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vlib/v/ast/types.v b/vlib/v/ast/types.v index e2a20e4065..e3a2578753 100644 --- a/vlib/v/ast/types.v +++ b/vlib/v/ast/types.v @@ -46,28 +46,28 @@ pub enum Language { pub fn pref_arch_to_table_language(pref_arch pref.Arch) Language { return match pref_arch { .amd64 { - Language.amd64 + .amd64 } .arm64 { - Language.arm64 + .arm64 } .arm32 { - Language.arm32 + .arm32 } .rv64 { - Language.rv64 + .rv64 } .rv32 { - Language.rv32 + .rv32 } .i386 { - Language.i386 + .i386 } .js_node, .js_browser, .js_freestanding { - Language.js + .js } ._auto, ._max { - Language.v + .v } } }