Implement Display for Identity.
This commit is contained in:
parent
a9c4bd0b78
commit
aa7d4b927c
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "nalgebra"
|
||||
version = "0.8.1"
|
||||
version = "0.8.2"
|
||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ] # FIXME: add the contributors.
|
||||
|
||||
description = "Linear algebra library for computer physics, computer graphics and general low-dimensional linear algebra for Rust."
|
||||
|
@ -35,6 +35,12 @@ impl Identity {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for Identity {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "Identity")
|
||||
}
|
||||
}
|
||||
|
||||
/// Square matrix of dimension 1.
|
||||
#[repr(C)]
|
||||
#[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)]
|
||||
|
Loading…
Reference in New Issue
Block a user