From 8601b3f790da471de7507f221106d85a08d4f8ef Mon Sep 17 00:00:00 2001 From: Lee Cannon Date: Wed, 10 May 2023 12:39:32 -0700 Subject: [PATCH] remove usage of `std.meta.tagName` as it is deprecated (#1186) --- src/Server.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.zig b/src/Server.zig index 03a4af0..4d32d53 100644 --- a/src/Server.zig +++ b/src/Server.zig @@ -460,7 +460,7 @@ fn initializeHandler(server: *Server, request: types.InitializeParams) Error!typ log.info("zls initializing", .{}); log.info("{}", .{server.client_capabilities}); - log.info("Using offset encoding: {s}", .{std.meta.tagName(server.offset_encoding)}); + log.info("Using offset encoding: {s}", .{@tagName(server.offset_encoding)}); server.status = .initializing;