Auto merge of #364 - dtolnay:rustup, r=oli-obk
Use rustup in serde-syntex-example instead of multirust Multirust is deprecated.
This commit is contained in:
commit
a52e7f5554
@ -2,12 +2,12 @@ This example demonstrates how to use Serde with Syntex. On stable or nightly
|
|||||||
with Syntex, it can be built with:
|
with Syntex, it can be built with:
|
||||||
|
|
||||||
```
|
```
|
||||||
% multirust run stable cargo run
|
% rustup run stable cargo run
|
||||||
Running `target/debug/serde-syntex-example`
|
Running `target/debug/serde-syntex-example`
|
||||||
{"x":1,"y":2}
|
{"x":1,"y":2}
|
||||||
Point { x: 1, y: 2 }
|
Point { x: 1, y: 2 }
|
||||||
|
|
||||||
% multirust run nightly cargo run
|
% rustup run nightly cargo run
|
||||||
Running `target/debug/serde-syntex-example`
|
Running `target/debug/serde-syntex-example`
|
||||||
{"x":1,"y":2}
|
{"x":1,"y":2}
|
||||||
Point { x: 1, y: 2 }
|
Point { x: 1, y: 2 }
|
||||||
@ -16,5 +16,5 @@ Point { x: 1, y: 2 }
|
|||||||
On nightly, it can use a plugin with:
|
On nightly, it can use a plugin with:
|
||||||
|
|
||||||
```
|
```
|
||||||
% multirust run nightly cargo run --features nightly --no-default-features
|
% rustup run nightly cargo run --features nightly --no-default-features
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user