From 281d1185326f124e3590451f6b902f8af90cd469 Mon Sep 17 00:00:00 2001 From: Lukas3674 Date: Sun, 9 Jul 2023 12:15:13 +0200 Subject: [PATCH] fixed some readme and comment typos --- README.md | 2 +- examples/simple.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23a49df..fd6ef9b 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ If you need / can think of any other config option, feel free to suggest them an ## Implemented Methods ```rust,ignore // Returns the underlying bits of the bitmask. -const fn bits(&self) -> #type { +const fn bits(&self) -> #type; // Returns a bitmask that contains all values. const fn all() -> Self; diff --git a/examples/simple.rs b/examples/simple.rs index 4eb7fb2..5c868a6 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -14,7 +14,7 @@ impl Bitmask { } } -// bitmask has const bitwise operator methods +// The bitmask has const bitwise operator methods const CONST_BM: Bitmask = Bitmask::Flag2.or(Bitmask::Flag3); fn main() {