From 9adf89452f54b99c53f82f7b94ab8330973a65b4 Mon Sep 17 00:00:00 2001 From: mllwchrry Date: Fri, 7 Jun 2024 13:53:00 +0300 Subject: [PATCH] fixed natspec, removed Typecaster --- contracts/libs/data-structures/AvlTree.sol | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/contracts/libs/data-structures/AvlTree.sol b/contracts/libs/data-structures/AvlTree.sol index 30618752..a40e5788 100644 --- a/contracts/libs/data-structures/AvlTree.sol +++ b/contracts/libs/data-structures/AvlTree.sol @@ -3,15 +3,14 @@ pragma solidity ^0.8.4; import {Math} from "@openzeppelin/contracts/utils/math/Math.sol"; -import {TypeCaster} from "../utils/TypeCaster.sol"; - /** * @notice AVL Tree module * - * This library provides implementation of three sets with dynamic key types: + * This library provides implementation of three sets with dynamic `value` types: * `UintAVL`, `Bytes32AVL` and `Bytes32AVL`. * - * Each element in the tree contains a bytes32 `value` field to allow storing different types of values + * Each element in the tree has a bytes32 `key` field to allow storing values + * associated with different types of keys * * The implementation supports setting custom comparator function * @@ -45,8 +44,6 @@ import {TypeCaster} from "../utils/TypeCaster.sol"; * ``` */ library AvlTree { - using TypeCaster for *; - /** ********************* * UintAVL *