fix pallet-xcm extrinsic doc comments (#4317)

This commit is contained in:
Alexander Popiak
2021-11-18 23:05:27 +01:00
committed by GitHub
parent bd422af092
commit d3a4612fc8
+4 -4
View File
@@ -484,8 +484,8 @@ pub mod pallet {
/// an `AccountId32` value. /// an `AccountId32` value.
/// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the /// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
/// `dest` side. May not be empty. /// `dest` side. May not be empty.
/// - `dest_weight`: Equal to the total weight on `dest` of the XCM message /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay
/// `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`. /// fees.
#[pallet::weight({ #[pallet::weight({
let maybe_assets: Result<MultiAssets, ()> = (*assets.clone()).try_into(); let maybe_assets: Result<MultiAssets, ()> = (*assets.clone()).try_into();
let maybe_dest: Result<MultiLocation, ()> = (*dest.clone()).try_into(); let maybe_dest: Result<MultiLocation, ()> = (*dest.clone()).try_into();
@@ -721,8 +721,8 @@ pub mod pallet {
/// an `AccountId32` value. /// an `AccountId32` value.
/// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the /// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
/// `dest` side. May not be empty. /// `dest` side. May not be empty.
/// - `dest_weight`: Equal to the total weight on `dest` of the XCM message /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay
/// `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`. /// fees.
/// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. /// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
#[pallet::weight({ #[pallet::weight({
let maybe_assets: Result<MultiAssets, ()> = (*assets.clone()).try_into(); let maybe_assets: Result<MultiAssets, ()> = (*assets.clone()).try_into();