mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:24:32 -06:00
+1
-1
@@ -15,7 +15,7 @@ $ cargo new --bin 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`:
|
||||
|
||||
```rust
|
||||
|
||||
Reference in New Issue
Block a user