Skip to content

Commit 3f3a676

Browse files
authored
Update rust-basics.md (#2118)
1 parent fe46d37 commit 3f3a676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/md/en/docs/learn/rust-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ These macros allow you to focus on writing idiomatic Rust and application-specif
4040

4141
Rust macros are a powerful tool to help ensure certain requirements are met (without re-writing code) such as the logic to be formatted in a specific way, specific checks are made, or some logic consists of specific data structures.
4242
This is especially useful to help developers write code that can integrate with the complexity of a Substrate runtime.
43-
For example, the `#[frame_system::pallet]` macro is required in all FRAME pallets to help you correctly implement certain required attributes-such as storage items or externally callable functions-and make it compatible with the build process in `construct_runtime`.
43+
For example, the `#[frame_support::pallet]` macro is required in all FRAME pallets to help you correctly implement certain required attributes-such as storage items or externally callable functions-and make it compatible with the build process in `construct_runtime`.
4444

4545
Developing Substrate runtimes involves heavy use of Rust's attribute macros, which come in two flavors: derive attributes and custom attributes.
4646
When you're getting started with Substrate, it isn't so important to know exactly how they work, but rather to know that they exist that they empower you to write correct runtime code.

0 commit comments

Comments
 (0)