Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
71f4f5a8
Unverified
Commit
71f4f5a8
authored
10 months ago
by
Kian Paimani
Committed by
GitHub
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Update `runtime_type` ref doc with the new "Associated Type Bounds" (#4624)
Co-authored-by:
Bastian 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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/sdk/src/reference_docs/frame_runtime_types.rs
+4
-0
4 additions, 0 deletions
docs/sdk/src/reference_docs/frame_runtime_types.rs
with
4 additions
and
0 deletions
docs/sdk/src/reference_docs/frame_runtime_types.rs
+
4
−
0
View file @
71f4f5a8
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment