typo in from_rational rounding example (#11301)

This commit is contained in:
joe petrowski
2022-04-26 21:15:00 +02:00
committed by GitHub
parent 130880754f
commit dcc8387dfa
@@ -273,7 +273,7 @@ pub trait PerThing:
/// ```rust
/// # use sp_arithmetic::{Percent, PerThing};
/// # fn main () {
/// // 989/100 is technically closer to 99%.
/// // 989/1000 is technically closer to 99%.
/// assert_eq!(
/// Percent::from_rational(989u64, 1000),
/// Percent::from_parts(98),