Skip to content
Snippets Groups Projects
Unverified Commit 71f4f5a8 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

Update `runtime_type` ref doc with the new "Associated Type Bounds" (#4624)


Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent 78c24ec9
No related merge requests found
Pipeline #479558 waiting for manual action with stages
in 1 hour, 12 minutes, and 25 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment