forked from M-Labs/nalgebra
Update README.md: extern mod -> extern crate
This commit is contained in:
parent
5066d6b9de
commit
bba2278b64
@ -25,7 +25,7 @@ The preferred way to use **nalgebra** is to import types and traits explicitly,
|
||||
free-functions using the `na::` prefix:
|
||||
|
||||
```.rust
|
||||
extern mod nalgebra;
|
||||
extern crate nalgebra;
|
||||
use nalgebra::na::{Vec3, Rot3, Rotation};
|
||||
use nalgebra::na;
|
||||
|
||||
@ -57,7 +57,7 @@ and keeps an optimized set of tools for computational graphics and physics. Thos
|
||||
For example, the following works:
|
||||
|
||||
```rust
|
||||
extern mod nalgebra;
|
||||
extern crate nalgebra;
|
||||
use nalgebra::na::{Vec3, Mat3};
|
||||
use nalgebra::na;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user