Skip to content

Commit db534eb

Browse files
committed
docs: fix typos and update version badge
- Fix typo in uuid.zig: "inpsired" → "inspired" - Fix typo in base32.zig: "alogrithms" → "algorithms" - Fix typo in typeid.zig: "hgandling" → "handling" - Update README badge from Zig 0.13.0 to 0.14.0 to match build.zig.zon
1 parent 2480fdb commit db534eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
 
88

9-
[![Zig](https://img.shields.io/badge/Zig-0.13.0-orange.svg)](https://ziglang.org/)
9+
[![Zig](https://img.shields.io/badge/Zig-0.14.0-orange.svg)](https://ziglang.org/)
1010
![CI](https://github.com/nikoksr/typeid-zig/actions/workflows/ci.yml/badge.svg)
1111

1212
</div>

src/base32/base32.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This module provides an implementation of base32 encoding and decoding. The implementation's
22
//! intended purpose is to be used in the generation of TypeIDs for: https://github.com/nikoksr/typeid-zig
33
//!
4-
//! The alogrithms are based on the Go implementation of ULID found at: https://github.com/oklog/ulid
4+
//! The algorithms are based on the Go implementation of ULID found at: https://github.com/oklog/ulid
55
//!
66
//! The code in this repo largely has been ported from the typeid-go implementation by jetify. The original
77
//! code can be found at: https://github.com/jetify-com/typeid-go/tree/main/base32

src/typeid.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ pub const TypeID = struct {
266266

267267
// Then parse the TypeID from the string
268268
// NOTE: Can't return the underlying error directly, so we need to re-parse. This was new to me coming from Go,
269-
// so I'm unsure what the right way of hgandling this is. This works for now, but doesn't feel right.
269+
// so I'm unsure what the right way of handling this is. This works for now, but doesn't feel right.
270270
return Self.fromString(string) catch |err| switch (err) {
271271
error.EmptySuffix,
272272
error.EmptyPrefixWithSeparator,

0 commit comments

Comments
 (0)