Merge pull request #15 from garrison/patch-1

Update README.md: extern mod -> extern crate.
This commit is contained in:
Sébastien Crozet 2014-06-08 07:21:11 +02:00
commit 370bc66f7a
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: free-functions using the `na::` prefix:
```.rust ```.rust
extern mod nalgebra; extern crate nalgebra;
use nalgebra::na::{Vec3, Rot3, Rotation}; use nalgebra::na::{Vec3, Rot3, Rotation};
use nalgebra::na; 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: For example, the following works:
```rust ```rust
extern mod nalgebra; extern crate nalgebra;
use nalgebra::na::{Vec3, Mat3}; use nalgebra::na::{Vec3, Mat3};
use nalgebra::na; use nalgebra::na;