Skip to content

Commit

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

Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
2 people authored and hitchhooker committed Jun 5, 2024
1 parent 0277916 commit 607a02a
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 607a02a

Please sign in to comment.