remove some dead code

This commit is contained in:
Meghan Denny 2021-10-02 13:40:39 -07:00
parent 3f92120fbe
commit 737a9dc008
2 changed files with 0 additions and 8 deletions

View File

@ -7,7 +7,6 @@ const readRequestHeader = @import("./header.zig").readRequestHeader;
const requests = @import("./requests.zig");
const types = @import("./types.zig");
const analysis = @import("./analysis.zig");
const URI = @import("./uri.zig");
const references = @import("./references.zig");
const rename = @import("./rename.zig");
const offsets = @import("./offsets.zig");

View File

@ -90,13 +90,6 @@ pub fn pathRelative(allocator: *std.mem.Allocator, base: []const u8, rel: []cons
return allocator.resize(result, result_index);
}
pub const UriParseError = error{
UriBadScheme,
UriBadHexChar,
UriBadEscape,
OutOfMemory,
};
// Original code: https://github.com/andersfr/zig-lsp/blob/master/uri.zig
fn parseHex(c: u8) !u8 {
return switch (c) {