diff --git a/contracts/utils/structs/EnumerableMap.sol b/contracts/utils/structs/EnumerableMap.sol index ba8020155..6ac215464 100644 --- a/contracts/utils/structs/EnumerableMap.sol +++ b/contracts/utils/structs/EnumerableMap.sol @@ -36,10 +36,12 @@ import "./EnumerableSet.sol"; * * [WARNING] * ==== - * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. - * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. + * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure + * unusable. + * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * - * In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an array of EnumerableMap. + * In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an + * array of EnumerableMap. * ==== */ library EnumerableMap { diff --git a/contracts/utils/structs/EnumerableSet.sol b/contracts/utils/structs/EnumerableSet.sol index b6c647f07..d6a33b565 100644 --- a/contracts/utils/structs/EnumerableSet.sol +++ b/contracts/utils/structs/EnumerableSet.sol @@ -29,10 +29,12 @@ pragma solidity ^0.8.0; * * [WARNING] * ==== - * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. - * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. + * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure + * unusable. + * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * - * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. + * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an + * array of EnumerableSet. * ==== */ library EnumerableSet { diff --git a/docs/modules/api/pages/utils.adoc b/docs/modules/api/pages/utils.adoc index 11edb7a1b..d699fdb27 100644 --- a/docs/modules/api/pages/utils.adoc +++ b/docs/modules/api/pages/utils.adoc @@ -5349,10 +5349,12 @@ The following map types are supported: [WARNING] ==== - Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. - See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. +Trying to delete such a structure from storage will likely result in data corruption, rendering the structure +unusable. +See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. - In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an array of EnumerableMap. +In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an +array of EnumerableMap. ==== @@ -5808,10 +5810,12 @@ and `uint256` (`UintSet`) are supported. [WARNING] ==== - Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. - See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. +Trying to delete such a structure from storage will likely result in data corruption, rendering the structure +unusable. +See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. - In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. +In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an +array of EnumerableSet. ====