From 0e38a03c0c108f2897a54b294a11cb8f1d0be74d Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 25 Oct 2023 14:54:37 +0000 Subject: [PATCH] fix: dispatch docs --- --- a/pallets/common/src/dispatch.rs +++ b/pallets/common/src/dispatch.rs @@ -69,7 +69,7 @@ /// Check if the collection is internal. fn check_is_internal(&self) -> DispatchResult; - /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode). + /// Create a regular 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. /// * `payer` - If set, the user who pays the collection creation deposit. @@ -82,12 +82,12 @@ Self::create_raw(sender, payer, false, data) } - /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode). + /// Function for creating regular and special collections. /// /// * `sender` - The user who will become the owner of the collection. /// * `payer` - If set, the user who pays the collection creation deposit. /// * `data` - Description of the created collection. - /// * `is_special_collection` -- Whether this collection is a system one, i.e. can have special flags set. + /// * `is_special_collection` -- Whether this collection is a special one, i.e. can have special flags set. fn create_raw( sender: T::CrossAccountId, payer: Option, -- gitstuff