Renames of Trait to Config in README.md, weight templates and few minor ones (#7636)

* manual rename

* renamse in README.md

* fix template
This commit is contained in:
Guillaume Thiolliere authored and GitHub committed 2020-11-30 20:33:49 +00:00
1 parent 35efc8e4b0
commit 15b0dece54
36 files changed
+115 -115

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ Copy and paste this template from frame/example/src/lib.rs into file
// Include the following links that shows what trait needs to be implemented to use the pallet
// and the supported dispatchables that are documented in the Call enum.
- \[`<INSERT_CUSTOM_PALLET_NAME>::Trait`](https://docs.rs/pallet-example/latest/pallet_example/trait.Trait.html)
- \[`<INSERT_CUSTOM_PALLET_NAME>::Config`](https://docs.rs/pallet-example/latest/pallet_example/trait.Config.html)
- \[`Call`](https://docs.rs/pallet-example/latest/pallet_example/enum.Call.html)
- \[`Module`](https://docs.rs/pallet-example/latest/pallet_example/struct.Module.html)
@@ -195,7 +195,7 @@ Copy and paste this template from frame/example/src/lib.rs into file
\```rust
use <INSERT_CUSTOM_PALLET_NAME>;
pub trait Trait: <INSERT_CUSTOM_PALLET_NAME>::Trait { }
pub trait Config: <INSERT_CUSTOM_PALLET_NAME>::Config { }
\```
\### Simple Code Snippet