Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
More doc comments
  • Loading branch information
KiChjang committed Mar 2, 2023
commit 23d0edfc57198595ca22e20fea1b90ffcbd66fc4
3 changes: 3 additions & 0 deletions xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ pub trait CreateMatcher {
/// Ok::<(), ()>(())
/// ```
pub trait MatchXcm {
/// The concrete instruction type. Necessary to specify as it changes between XCM versions.
type Inst;
/// The `MultiLocation` type. Necessary to specify as it changes between XCM versions.
type Loc;
/// The error type to throw when errors happen during matching.
type Error;

/// Returns success if the number of instructions that still have not been iterated over
Expand Down