From 07ef2a96bcb43bd9465e6079a5e4152f8d8ded57 Mon Sep 17 00:00:00 2001
From: Nicola Belluti <nicolabelluti@protonmail.com>
Date: Wed, 31 Jul 2024 13:13:07 +0200
Subject: [PATCH] Updated the README.md and the tests

---
 README.md     | 4 +++-
 src/record.rs | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 179c5be..208113c 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
 <br>
 [![CI Badge](https://git.nicolabelluti.me/nicolabelluti/r701/actions/workflows/check-format-and-test.yaml/badge.svg)](https://git.nicolabelluti.me/nicolabelluti/r701/actions/?workflow=check-format-and-test.yaml)
 
-</div>
+</div><br>
 
 > A reverse-engineered library to communicate with the
 > [R701](https://ipsattendant.it/rilevatore-presenze-r701/) by [I.P.S.
@@ -18,6 +18,8 @@
 If you want to read about this reverse engineering attempt, check out
 <https://nicolabelluti.me/series/attendance-reader/>.
 
+## Library Usage
+
 1. Add the library to you project:
 
    ```shell
diff --git a/src/record.rs b/src/record.rs
index 92bf6f0..db4b50c 100644
--- a/src/record.rs
+++ b/src/record.rs
@@ -106,7 +106,7 @@ mod tests {
 
         assert_eq!(
             record_bytes.try_into(),
-            Err::<Record, &str>("Slice must be at least of length 12 to be converted into Record")
+            Err::<Record, &str>("Slice must be of length 12 to be converted into Record")
         );
     }