mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:34:32 -06:00
+1
-1
@@ -15,7 +15,7 @@ $ cargo new --bin points
|
|||||||
$ cd points
|
$ cd points
|
||||||
```
|
```
|
||||||
|
|
||||||
Here’s a short program which calcualtes the distance between two points. Put
|
Here’s a short program which calculates the distance between two points. Put
|
||||||
it into your `src/main.rs`:
|
it into your `src/main.rs`:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|||||||
Reference in New Issue
Block a user