From ece87c3f4e76fd996dbbbaf8202f2adecff06c1e Mon Sep 17 00:00:00 2001 From: Fabian Zaiser Date: Wed, 28 Mar 2018 01:41:40 +0200 Subject: Address nits and tidy errors. --- src/libstd/f32.rs | 4 ++-- src/libstd/f64.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs index ed63f445084..ca39089a958 100644 --- a/src/libstd/f32.rs +++ b/src/libstd/f32.rs @@ -331,9 +331,9 @@ impl f32 { /// Calculates Euclidean division, the matching method for `mod_euc`. /// - /// This computes the integer n such that + /// This computes the integer `n` such that /// `self = n * rhs + self.mod_euc(rhs)`. - /// In other words, the result is `self / rhs` rounded to the integer n + /// In other words, the result is `self / rhs` rounded to the integer `n` /// such that `self >= n * rhs`. /// /// ``` diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs index 320655c443c..a9585670ad0 100644 --- a/src/libstd/f64.rs +++ b/src/libstd/f64.rs @@ -317,9 +317,9 @@ impl f64 { /// Calculates Euclidean division, the matching method for `mod_euc`. /// - /// This computes the integer n such that + /// This computes the integer `n` such that /// `self = n * rhs + self.mod_euc(rhs)`. - /// In other words, the result is `self / rhs` rounded to the integer n + /// In other words, the result is `self / rhs` rounded to the integer `n` /// such that `self >= n * rhs`. /// /// ``` -- cgit 1.4.1-3-g733a5