From 42fe56031f106e505d2edfc5163f0b5c95264b5a Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Tue, 6 Sep 2022 15:41:47 -0300 Subject: [PATCH] Fix EnumerableMap and EnumerableSet warning format --- contracts/utils/structs/EnumerableMap.sol | 8 +++++--- contracts/utils/structs/EnumerableSet.sol | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/contracts/utils/structs/EnumerableMap.sol b/contracts/utils/structs/EnumerableMap.sol index 0ec40f9e7..16a963a68 100644 --- a/contracts/utils/structs/EnumerableMap.sol +++ b/contracts/utils/structs/EnumerableMap.sol @@ -37,10 +37,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 1d8029e3f..8af57997f 100644 --- a/contracts/utils/structs/EnumerableSet.sol +++ b/contracts/utils/structs/EnumerableSet.sol @@ -30,10 +30,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 {