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; //!