Procházet zdrojové kódy

book/development: Use +nightly for cargo fmt.

parazyd před 4 roky
rodič
revize
3d9a8f1c41
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      book/src/development.md

+ 1 - 1
book/src/development.md

@@ -9,7 +9,7 @@ this by creating a git `pre-commit` hook like the following:
 
 ```shell
 #!/bin/sh
-if ! cargo fmt -- --check >/dev/null; then
+if ! cargo +nightly fmt -- --check >/dev/null; then
     echo "There are some code style issues. Run 'cargo fmt' to fix it."
     exit 1
 fi