chore: minor cosmetic changes

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-08-16 22:20:53 -05:00
parent 6328c370de
commit 7fd3b68f82
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -6,6 +6,7 @@ A library to check and extract values from integers based on a "bit string". Pri
```zig ```zig
const std = @import("std"); const std = @import("std");
test "doc test" { test "doc test" {
const value: u8 = 0b10001011; const value: u8 = 0b10001011;
try std.testing.expectEqual(true, match("10001011", value)); try std.testing.expectEqual(true, match("10001011", value));

View File

@ -3,6 +3,7 @@
//! ## Example //! ## Example
//! ```zig //! ```zig
//! const std = @import("std"); //! const std = @import("std");
//!
//! test "doc test" { //! test "doc test" {
//! const value: u8 = 0b10001011; //! const value: u8 = 0b10001011;
//! //!