Skip to content

Commit

Permalink
lint- remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Feb 28, 2022
1 parent e7926b7 commit f1b504d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/handler/_internal.zig
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ pub fn writePageResponse(alloc: std.mem.Allocator, response: *http.Response, req
try pek.compile(root, alloc, w, tmpl, data);
}

const wyhash = struct {
pub const Writer = std.io.Writer(*std.hash.Wyhash, error{}, write);

fn write(self: *std.hash.Wyhash, b: []const u8) error{}!usize {
self.update(b);
}

pub fn writer(self: *std.hash.Wyhash) Writer {
return .{ .context = self };
}
};

pub const JWT = struct {
const Payload = struct {
iss: string, // issuer
Expand Down

0 comments on commit f1b504d

Please sign in to comment.