Skip to content

Commit

Permalink
Update 03-create-pallet.md (#2066)
Browse files Browse the repository at this point in the history
fixed worspace to workshop typo

Co-authored-by: Shawn Tabrizi <[email protected]>
  • Loading branch information
juandesouza and shawntabrizi authored Aug 28, 2024
1 parent 3b17469 commit bb65e87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To create a project:
```

In Rust, the `Cargo.toml` file for each package is called the package manifest and it defines configuration settings and dependencies that the package requires.
The `Cargo.toml` file in the `workspace-node-template/pallets/collectibles` folder defines the dependencies for the `collectibles` package you are building.
The `Cargo.toml` file in the `workshop-node-template/pallets/collectibles` folder defines the dependencies for the `collectibles` package you are building.

By convention, the source code for Rust projects in Substrate—including pallet modules—is typically in the `src/lib.rs` file.
By default, Cargo creates a template `src/main.rs` file for new projects.
Expand Down

0 comments on commit bb65e87

Please sign in to comment.