chore: minor cosmetic changes
This commit is contained in:
parent
6328c370de
commit
7fd3b68f82
2
LICENSE
2
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
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
//! ## Example
|
||||
//! ```zig
|
||||
//! const std = @import("std");
|
||||
//!
|
||||
//! test "doc test" {
|
||||
//! const value: u8 = 0b10001011;
|
||||
//!
|
||||
|
|
Loading…
Reference in New Issue