Commit missing import
This commit is contained in:
parent
fb92f5c463
commit
c593e38078
@ -1,18 +1,7 @@
|
|||||||
//! # Rational Numbers (fractions)
|
//! # Rational Numbers (fractions)
|
||||||
//!
|
|
||||||
//! Traits to implement:
|
|
||||||
//! * Add
|
|
||||||
//! * AddAssign
|
|
||||||
//! * Div
|
|
||||||
//! * DivAssign
|
|
||||||
//! * Mul
|
|
||||||
//! * MulAssign
|
|
||||||
//! * Neg
|
|
||||||
//! * Sub
|
|
||||||
//! * SubAssign
|
|
||||||
|
|
||||||
use crate::num::*;
|
use crate::num::*;
|
||||||
use std::ops::{Add, Div, Mul, Neg, Sub};
|
use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign};
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct Frac<T: Unsigned = usize> {
|
pub struct Frac<T: Unsigned = usize> {
|
||||||
|
Loading…
Reference in New Issue
Block a user