From fda4b5ca5b52cf0468a4c48e5c79c3755d36e914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Wed, 20 Jun 2018 19:56:16 +0200 Subject: [PATCH] Add docs for FatType variants --- src/fs.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/fs.rs b/src/fs.rs index fdde274..32b6923 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -25,7 +25,12 @@ use alloc::String; /// `FatType` values are based on the size of File Allocation Table entry. #[derive(Copy, Clone, Eq, PartialEq, Debug)] pub enum FatType { - Fat12, Fat16, Fat32, + /// 12 bits per FAT entry + Fat12, + /// 16 bits per FAT entry + Fat16, + /// 32 bits per FAT entry + Fat32, } impl FatType {