Skip to content
Unverified Commit 07cfcf0b authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

frame/proc-macro: Refactor code for better readability (#4712)

Small refactoring PR to improve the readability of the proc macros.
- small improvement in docs
- use new `let Some(..) else` expression
- removed extra indentations by early returns

Discovered during metadata v16 poc, extracted from:
https://github.com/paritytech/polkadot-sdk/pull/4358



---------

Signed-off-by: default avatarAlexandru Vasile <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatargupnik <[email protected]>
parent 48d875d0
Pipeline #480594 waiting for manual action with stages
in 1 hour, 14 minutes, and 10 seconds
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