Skip to content

Commit b717fa6

Browse files
committed
rustfmt fixes
1 parent b20be13 commit b717fa6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

libm/src/math/fabs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ mod tests {
2323

2424
#[test]
2525
fn sanity_check() {
26-
assert_eq!(fabs(-1.0), 1.0);
27-
assert_eq!(fabs(2.8), 2.8);
26+
assert_eq!(fabs(-1.0), 1.0);
27+
assert_eq!(fabs(2.8), 2.8);
2828
}
2929

3030
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs

libm/src/math/fabsf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ mod tests {
2121

2222
#[test]
2323
fn sanity_check() {
24-
assert_eq!(fabsf(-1.0), 1.0);
25-
assert_eq!(fabsf(2.8), 2.8);
24+
assert_eq!(fabsf(-1.0), 1.0);
25+
assert_eq!(fabsf(2.8), 2.8);
2626
}
2727

2828
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs

libm/src/math/sqrt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ mod tests {
247247

248248
#[test]
249249
fn sanity_check() {
250-
assert_eq!(sqrt(100.0), 10.0);
251-
assert_eq!(sqrt(4.0), 2.0);
250+
assert_eq!(sqrt(100.0), 10.0);
251+
assert_eq!(sqrt(4.0), 2.0);
252252
}
253253

254254
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt

libm/src/math/sqrtf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ mod tests {
135135

136136
#[test]
137137
fn sanity_check() {
138-
assert_eq!(sqrtf(100.0), 10.0);
139-
assert_eq!(sqrtf(4.0), 2.0);
138+
assert_eq!(sqrtf(100.0), 10.0);
139+
assert_eq!(sqrtf(4.0), 2.0);
140140
}
141141

142142
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt

0 commit comments

Comments
 (0)