summaryrefslogtreecommitdiff
path: root/src/font/Collection.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-03-12 09:55:46 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-03-12 09:55:52 -0700
commit0f4d2bb2375c707182dba8cf2dd7723a2e918e79 (patch)
tree25c71a20325a32cdf61d831103ef3e1837a19bdb /src/font/Collection.zig
parent86d3f18707d2ca9318d66deb5867c0e0c917eb60 (diff)
Lots of 0.14 changes
Diffstat (limited to 'src/font/Collection.zig')
-rw-r--r--src/font/Collection.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/font/Collection.zig b/src/font/Collection.zig
index cb16528aa..cfc633b04 100644
--- a/src/font/Collection.zig
+++ b/src/font/Collection.zig
@@ -639,11 +639,11 @@ pub const PresentationMode = union(enum) {
/// the Backing type and everything should just work fine.
pub const Index = packed struct(Index.Backing) {
const Backing = u16;
- const backing_bits = @typeInfo(Backing).Int.bits;
+ const backing_bits = @typeInfo(Backing).int.bits;
/// The number of bits we use for the index.
- const idx_bits = backing_bits - @typeInfo(@typeInfo(Style).Enum.tag_type).Int.bits;
- pub const IndexInt = @Type(.{ .Int = .{ .signedness = .unsigned, .bits = idx_bits } });
+ const idx_bits = backing_bits - @typeInfo(@typeInfo(Style).@"enum".tag_type).int.bits;
+ pub const IndexInt = @Type(.{ .int = .{ .signedness = .unsigned, .bits = idx_bits } });
/// The special-case fonts that we support.
pub const Special = enum(IndexInt) {