difftreelog
doc: fix PR
in: master
2 files changed
pallets/common/src/dispatch.rsdiffbeforeafterboth--- a/pallets/common/src/dispatch.rs
+++ b/pallets/common/src/dispatch.rs
@@ -71,7 +71,7 @@
/// Interface for working with different collections through the dispatcher.
pub trait CollectionDispatch<T: Config> {
- /// Create a collection. The collection will be created according to the value of [data.mode](CreateCollectionData::mode).
+ /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).
///
/// * `sender` - The user who will become the owner of the collection.
/// * `data` - Description of the created collection.
@@ -94,6 +94,6 @@
/// Get the collection handle for the corresponding implementation.
fn into_inner(self) -> CollectionHandle<T>;
- /// Get the implementation of [CommonCollectionOperations].
+ /// Get the implementation of [`CommonCollectionOperations`].
fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;
}
pallets/common/src/lib.rsdiffbeforeafterboth161617//! # Common pallet17//! # Common pallet18//!18//!19//! The Common pallet provides an interface for common collection operations for different collection types19//! The Common pallet provides functionality for handling collections.20//! (see [CommonCollectionOperations]), as well as a generic dispatcher for these, see [dispatch] module.21//! It also provides this functionality to EVM, see [erc] and [eth] modules.22//!20//!23//! ## Overview21//! ## Overview24//!22//!25//! The Common pallet provides functionality for handling collections.23//! The Common pallet provides an interface for common collection operations for different collection types24//! (see [CommonCollectionOperations]), as well as a generic dispatcher for these, see [dispatch] module.25//! It also provides this functionality to EVM, see [erc] and [eth] modules.26//!26//!27//! The Common pallet provides functions for:27//! The Common pallet provides functions for:28//!28//!44//! metadata can be placed.44//! metadata can be placed.45//!45//!46//! **Permissions on token properties** - For each property in the token can be set permission46//! **Permissions on token properties** - For each property in the token can be set permission47//! to change, see [PropertyPermission].47//! to change, see [`PropertyPermission`].48//!48//!49//! **Collection administrator** - For a collection, you can set administrators who have the right49//! **Collection administrator** - For a collection, you can set administrators who have the right50//! to most actions on the collection.50//! to most actions on the collection.