--- a/pallets/unique/src/lib.rs +++ b/pallets/unique/src/lib.rs @@ -266,10 +266,12 @@ /// * `token_prefix`: Byte string containing the token prefix to mark a collection /// to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]). /// * `mode`: Type of items stored in the collection and type dependent data. - // returns collection ID + /// + /// returns collection ID + /// + /// Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead. #[weight = >::create_collection()] - #[deprecated(note = "`create_collection_ex` is more up-to-date and advanced, prefer it instead")] - pub fn create_collection( + fn create_collection( origin, collection_name: BoundedVec>, collection_description: BoundedVec>,