remove usage of std.meta.tagName as it is deprecated (#1186)

This commit is contained in:
Lee Cannon 2023-05-10 12:39:32 -07:00 committed by GitHub
parent d3f127e78e
commit 8601b3f790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ fn initializeHandler(server: *Server, request: types.InitializeParams) Error!typ
log.info("zls initializing", .{}); log.info("zls initializing", .{});
log.info("{}", .{server.client_capabilities}); 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; server.status = .initializing;