mirror of https://github.com/01-edu/public.git
docs(matrix_ops): remove imports form example
This commit is contained in:
parent
ec6cfc7748
commit
cb5fdb9992
|
@ -11,9 +11,6 @@ You will be reusing your `Matrix` and `Scalar` structures defined in the [matrix
|
||||||
### Expected Function
|
### Expected Function
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use crate::{Matrix, Scalar};
|
|
||||||
use std::ops::{ Add, Sub };
|
|
||||||
|
|
||||||
impl Add for Matrix {
|
impl Add for Matrix {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,6 +25,7 @@ impl Sub for Matrix {
|
||||||
Here is a program to test your function
|
Here is a program to test your function
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
// Importing Matrix by defining it as a dependency in Cargo.toml
|
||||||
use matrix_ops::*;
|
use matrix_ops::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Reference in New Issue