Browse Source

Corrected wrongly conferted adoc

master
Vincent Truchseß 10 months ago
parent
commit
056b70498d
1 changed files with 8 additions and 9 deletions
  1. +8
    -9
      posts/2019-04-28-rust-environment.adoc

+ 8
- 9
posts/2019-04-28-rust-environment.adoc View File

@@ -78,19 +78,18 @@ We can simply install it via:
cargo +nightly install racer
----

Afterwards we have to set the `+RUST_SRC_PATH+` variable to
Afterwards we have to set the `+RUST_SRC_PATH+` variable to +
`$home/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src`.

[source,$home/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src```.]
----

## Installing rustfmt
== Installing rustfmt

**[rustfmt](https://github.com/rust-lang/rustfmt)** performs autoformatting on
rust-code. At first I installed just ```rustfmt``` via cargo. While using it, it
was showing me lots of deprication-warnings so I installed ```rustfmt-nightly```
**https://github.com/rust-lang/rustfmt[rustfmt]** performs autoformatting on
rust-code. At first I installed just `rustfmt` via cargo. While using it, it
was showing me lots of deprication-warnings so I installed `rustfmt-nightly`
via:

```bash
[source,bash]
----
cargo install rustfmt-nightly
----



Loading…
Cancel
Save