summaryrefslogtreecommitdiff
path: root/tests/tests.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2021-07-26 00:27:07 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-07-26 00:27:07 +0200
commitd79922d763fa048fbc903beacf7dbf25aaad1f75 (patch)
tree7b7a5c4c7b18da018c26827d3b6bf3ca3150c8a2 /tests/tests.rs
parent9a9438f3d6a3523c69d7bc890e8608b63dbe38a5 (diff)
docs: Fix rustfmt install steps.
Fixes #2080
Diffstat (limited to 'tests/tests.rs')
-rw-r--r--tests/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index ced48540..323cf16d 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -49,7 +49,7 @@ The latest `rustfmt` is required to run the `bindgen` test suite. Install
`rustfmt` with:
$ rustup update nightly
- $ rustup run nightly cargo install -f rustfmt-nightly
+ $ rustup component add rustfmt --toolchain nightly
"
);
}