Explorar o código

book/development: Use +nightly for cargo fmt.

parazyd %!s(int64=4) %!d(string=hai) anos
pai
achega
3d9a8f1c41
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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