difftreelog
fix `ItemData` warnings
in: master
Removed `deprecated` attribute from `ItemData` to remove warnings from `cargo check`. `ItemData` is used only in `TokenData` storage and it is deprecated too. Also reason for deprecation is duplicated on `TokenData`.
1 file changed
pallets/refungible/src/lib.rsdiffbeforeafterboth137/// for the convenience of database access. Notably contains the token metadata.137/// for the convenience of database access. Notably contains the token metadata.138#[struct_versioning::versioned(version = 2, upper)]138#[struct_versioning::versioned(version = 2, upper)]139#[derive(Encode, Decode, Default, TypeInfo, MaxEncodedLen)]139#[derive(Encode, Decode, Default, TypeInfo, MaxEncodedLen)]140#[deprecated(since = "0.2.0", note = "ItemData is no more contains usefull data")]141pub struct ItemData {140pub struct ItemData {142 pub const_data: BoundedVec<u8, CustomDataLimit>,141 pub const_data: BoundedVec<u8, CustomDataLimit>,143142