Expand description

Implementations of the From trait for converting a primitive integer to a Rational.

from

use malachite_q::Rational;

assert_eq!(Rational::from(123u32), 123);
assert_eq!(Rational::from(-123i32), -123);