From 7fd3b68f82c3f34fd9d5d12b0508bb0f3bbb2b70 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 16 Aug 2023 22:20:53 -0500 Subject: [PATCH] chore: minor cosmetic changes --- LICENSE | 2 +- README.md | 1 + src/lib.zig | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index ea2ad03..aeedcc1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) [2023] [Rekai Nyangadzayi Musuka] +Copyright (c) 2023 Rekai Nyangadzayi Musuka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index f2c78e8..7c97e31 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ A library to check and extract values from integers based on a "bit string". Pri ```zig const std = @import("std"); + test "doc test" { const value: u8 = 0b10001011; try std.testing.expectEqual(true, match("10001011", value)); diff --git a/src/lib.zig b/src/lib.zig index 6589500..eb1a2a0 100644 --- a/src/lib.zig +++ b/src/lib.zig @@ -3,6 +3,7 @@ //! ## Example //! ```zig //! const std = @import("std"); +//! //! test "doc test" { //! const value: u8 = 0b10001011; //!