Update README.md: extern mod -> extern crate

This commit is contained in:
Jim Garrison 2014-06-07 17:07:03 -07:00
parent 5066d6b9de
commit bba2278b64
1 changed files with 2 additions and 2 deletions

View File

@ -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;