From 31c5482db3c6294214422a7752caff7afd8ca81d Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Fri, 15 Jul 2022 13:32:48 +0000 Subject: [PATCH] doc: Fix PR --- --- a/pallets/common/src/dispatch.rs +++ b/pallets/common/src/dispatch.rs @@ -94,6 +94,6 @@ /// Get the collection handle for the corresponding implementation. fn into_inner(self) -> CollectionHandle; - /// Получить реализацию [CommonCollectionOperations]. + /// Get the implementation of [CommonCollectionOperations]. fn as_dyn(&self) -> &dyn CommonCollectionOperations; } --- a/pallets/common/src/eth.rs +++ b/pallets/common/src/eth.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . -//! The module contains a number of functions for converting and checking etherium identifiers. +//! The module contains a number of functions for converting and checking ethereum identifiers. use up_data_structs::CollectionId; use sp_core::H160; --- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -132,6 +132,9 @@ /// Collection handle contains information about collection data and id. /// Also provides functionality to count consumed gas. +/// CollectionHandle is used as a generic wrapper for collections of all types. +/// It allows to perform common operations and queries on any collection type, +/// both completely general for all, as well as their respective implementations of [CommonCollectionOperations]. #[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"] pub struct CollectionHandle { /// Collection id -- gitstuff