From e0e3051b83dcbd380ffe2a64cc9f314063ceecae Mon Sep 17 00:00:00 2001 From: giwaov Date: Wed, 25 Feb 2026 09:20:19 +0100 Subject: [PATCH] docs(share_medical_records): fix PatientData field types to match code The README showed gender as u8 (actually bool) and weight as u64 (actually u16), which would mislead developers working with the struct. --- share_medical_records/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share_medical_records/README.md b/share_medical_records/README.md index f7d9f58d..229b83f7 100644 --- a/share_medical_records/README.md +++ b/share_medical_records/README.md @@ -78,9 +78,9 @@ pub fn share_patient_data( pub struct PatientData { patient_id: u64, age: u8, - gender: u8, + gender: bool, blood_type: u8, - weight: u64, + weight: u16, height: u16, allergies: [bool; 5], }