We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo fmt
1 parent a716dd9 commit 9e88a8dCopy full SHA for 9e88a8d
β.githooks/pre-commitβ
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+
3
+diff=$(cargo fmt -- --check)
4
+result=$?
5
6
+if [[ ${result} -ne 0 ]] ; then
7
+ cat <<\EOF
8
+There are some code style issues, run `cargo fmt` first.
9
+EOF
10
+ exit 1
11
+fi
12
13
+exit 0
βpallets/afloat/src/lib.rsβ
@@ -217,7 +217,6 @@ pub mod pallet {
217
},
218
}
219
220
- // Ok(())
221
222
223
#[pallet::call_index(1)]
0 commit comments