git.delta.rocks / unique-network / refs/commits / 6c6ed89d2a53

difftreelog

doc: fix PR

Trubnikov Sergey2022-07-20parent: #ba8a9db.patch.diff
in: master

2 files changed

modifiedpallets/common/src/dispatch.rsdiffbeforeafterboth
7171
72/// Interface for working with different collections through the dispatcher.72/// Interface for working with different collections through the dispatcher.
73pub trait CollectionDispatch<T: Config> {73pub trait CollectionDispatch<T: Config> {
74 /// Create a collection. The collection will be created according to the value of [data.mode](CreateCollectionData::mode).74 /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).
75 ///75 ///
76 /// * `sender` - The user who will become the owner of the collection.76 /// * `sender` - The user who will become the owner of the collection.
77 /// * `data` - Description of the created collection.77 /// * `data` - Description of the created collection.
94 /// Get the collection handle for the corresponding implementation.94 /// Get the collection handle for the corresponding implementation.
95 fn into_inner(self) -> CollectionHandle<T>;95 fn into_inner(self) -> CollectionHandle<T>;
9696
97 /// Get the implementation of [CommonCollectionOperations].97 /// Get the implementation of [`CommonCollectionOperations`].
98 fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;98 fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;
99}99}
100100
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -16,13 +16,13 @@
 
 //! # Common pallet
 //!
+//! The Common pallet provides functionality for handling collections.
+//!
+//! ## Overview
+//!
 //! The Common pallet provides an interface for common collection operations for different collection types
 //! (see [CommonCollectionOperations]), as well as a generic dispatcher for these, see [dispatch] module.
 //! It also provides this functionality to EVM, see [erc] and [eth] modules.
-//!
-//! ## Overview
-//!
-//! The Common pallet provides functionality for handling collections.
 //!
 //! The Common pallet provides functions for:
 //!
@@ -44,7 +44,7 @@
 //! metadata can be placed.
 //!
 //! **Permissions on token properties** - For each property in the token can be set permission
-//! to change, see [PropertyPermission].
+//! to change, see [`PropertyPermission`].
 //!
 //! **Collection administrator** - For a collection, you can set administrators who have the right
 //! to most actions on the collection.