updated to latest Rust
This commit is contained in:
parent
2163d7b0a5
commit
896735a2b0
2 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,6 @@ authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
|
||||||
"Tomasz Stachowiak"
|
"Tomasz Stachowiak"
|
||||||
]
|
]
|
||||||
|
|
||||||
[[lib]]
|
[lib]
|
||||||
|
|
||||||
name = "cgmath"
|
name = "cgmath"
|
||||||
|
|
|
@ -46,7 +46,7 @@ pub trait Array1<Element: Copy>: Index<uint, Element> + IndexMut<uint, Element>
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A column-major array
|
/// A column-major array
|
||||||
pub trait Array2<Column: Array1<Element>, Row: Array1<Element>, Element: Copy>:
|
pub trait Array2<Column: Array1<Element>+'static, Row: Array1<Element>, Element: Copy>:
|
||||||
Index<uint, Column> + IndexMut<uint, Column> {
|
Index<uint, Column> + IndexMut<uint, Column> {
|
||||||
/// Get the pointer to the first element of the array.
|
/// Get the pointer to the first element of the array.
|
||||||
fn ptr<'a>(&'a self) -> &'a Element {
|
fn ptr<'a>(&'a self) -> &'a Element {
|
||||||
|
|
Loading…
Reference in a new issue