@@ -5,7 +5,7 @@ use deku::{DekuEnumExt, DekuError, DekuRead};
5
5
use serde:: { Deserialize , Serialize } ;
6
6
#[ cfg( feature = "std" ) ]
7
7
use strum:: IntoEnumIterator ;
8
- use strum:: { EnumIter , EnumString , EnumVariantNames , FromRepr } ;
8
+ use strum:: { EnumIter , EnumString , FromRepr , VariantNames } ;
9
9
10
10
#[ cfg( feature = "std" ) ]
11
11
pub ( crate ) use self :: de:: { DeserializedBinPartition , DeserializedCsvPartition } ;
@@ -27,7 +27,7 @@ pub(crate) const MAX_NAME_LEN: usize = 16;
27
27
/// exceed `0xFE`.
28
28
///
29
29
/// For additional information regarding the supported partition types, please
30
- /// refer to the ESP-IDF documentation:
30
+ /// refer to the ESP-IDF documentation:
31
31
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#type-field>
32
32
#[ derive( Debug , Clone , Copy , PartialEq , Eq , Deserialize , Serialize ) ]
33
33
#[ cfg_attr(
@@ -107,7 +107,7 @@ impl Type {
107
107
/// is [`Type::Custom`].
108
108
///
109
109
/// For additional information regarding the supported partition subtypes,
110
- /// please refer to the ESP-IDF documentation:
110
+ /// please refer to the ESP-IDF documentation:
111
111
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
112
112
#[ derive( Debug , Clone , Copy , PartialEq , Eq , Deserialize , Serialize ) ]
113
113
#[ serde( untagged) ]
@@ -174,7 +174,7 @@ impl SubType {
174
174
175
175
/// Partition sub-types which can be used with [`Type::App`] partitions
176
176
///
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:
178
178
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
179
179
#[ allow( non_camel_case_types) ]
180
180
#[ derive(
@@ -186,7 +186,7 @@ impl SubType {
186
186
Deserialize ,
187
187
EnumIter ,
188
188
EnumString ,
189
- EnumVariantNames ,
189
+ VariantNames ,
190
190
FromRepr ,
191
191
Serialize ,
192
192
) ]
@@ -220,7 +220,7 @@ pub enum AppType {
220
220
221
221
/// Partition sub-types which can be used with [`Type::Data`] partitions
222
222
///
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:
224
224
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
225
225
#[ derive(
226
226
Debug ,
@@ -231,7 +231,7 @@ pub enum AppType {
231
231
Deserialize ,
232
232
EnumIter ,
233
233
EnumString ,
234
- EnumVariantNames ,
234
+ VariantNames ,
235
235
FromRepr ,
236
236
Serialize ,
237
237
) ]
0 commit comments