Skip to content

Commit

Permalink
Update runtime_type ref doc with the new "Associated Type Bounds" (#…
Browse files Browse the repository at this point in the history
…4624)

Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
kianenigma and bkchr authored May 31, 2024
1 parent 78c24ec commit 71f4f5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/sdk/src/reference_docs/frame_runtime_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
//! bounds, such as being [`frame::traits::IsSubType`]:
#![doc = docify::embed!("./src/reference_docs/frame_runtime_types.rs", custom_runtime_call_usages)]
//!
//! > Once Rust's "_Associated Type Bounds RFC_" is usable, this syntax can be used to
//! > simplify the above scenario. See [this](https://github.com/paritytech/polkadot-sdk/issues/3743)
//! > issue for more information.
//!
//! ### Asserting Equality of Multiple Runtime Composite Enums
//!
//! Recall that in the above example, `<T as Config>::RuntimeCall` and `<T as
Expand Down

0 comments on commit 71f4f5a

Please sign in to comment.