@@ -5,7 +5,7 @@ use deku::{DekuEnumExt, DekuError, DekuRead};
55use serde:: { Deserialize , Serialize } ;
66#[ cfg( feature = "std" ) ]
77use strum:: IntoEnumIterator ;
8- use strum:: { EnumIter , EnumString , EnumVariantNames , FromRepr } ;
8+ use strum:: { EnumIter , EnumString , FromRepr , VariantNames } ;
99
1010#[ cfg( feature = "std" ) ]
1111pub ( crate ) use self :: de:: { DeserializedBinPartition , DeserializedCsvPartition } ;
@@ -27,7 +27,7 @@ pub(crate) const MAX_NAME_LEN: usize = 16;
2727/// exceed `0xFE`.
2828///
2929/// For additional information regarding the supported partition types, please
30- /// refer to the ESP-IDF documentation:
30+ /// refer to the ESP-IDF documentation:
3131/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#type-field>
3232#[ derive( Debug , Clone , Copy , PartialEq , Eq , Deserialize , Serialize ) ]
3333#[ cfg_attr(
@@ -107,7 +107,7 @@ impl Type {
107107/// is [`Type::Custom`].
108108///
109109/// For additional information regarding the supported partition subtypes,
110- /// please refer to the ESP-IDF documentation:
110+ /// please refer to the ESP-IDF documentation:
111111/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
112112#[ derive( Debug , Clone , Copy , PartialEq , Eq , Deserialize , Serialize ) ]
113113#[ serde( untagged) ]
@@ -174,7 +174,7 @@ impl SubType {
174174
175175/// Partition sub-types which can be used with [`Type::App`] partitions
176176///
177- /// A full list of support subtypes can be found in the ESP-IDF documentation:
177+ /// A full list of support subtypes can be found in the ESP-IDF documentation:
178178/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
179179#[ allow( non_camel_case_types) ]
180180#[ derive(
@@ -186,7 +186,7 @@ impl SubType {
186186 Deserialize ,
187187 EnumIter ,
188188 EnumString ,
189- EnumVariantNames ,
189+ VariantNames ,
190190 FromRepr ,
191191 Serialize ,
192192) ]
@@ -220,7 +220,7 @@ pub enum AppType {
220220
221221/// Partition sub-types which can be used with [`Type::Data`] partitions
222222///
223- /// A full list of support subtypes can be found in the ESP-IDF documentation:
223+ /// A full list of support subtypes can be found in the ESP-IDF documentation:
224224/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
225225#[ derive(
226226 Debug ,
@@ -231,7 +231,7 @@ pub enum AppType {
231231 Deserialize ,
232232 EnumIter ,
233233 EnumString ,
234- EnumVariantNames ,
234+ VariantNames ,
235235 FromRepr ,
236236 Serialize ,
237237) ]
0 commit comments