Skip to content

Commit 94fd8bb

Browse files
committed
---
yaml --- r: 55832 b: refs/heads/master c: f40be99 h: refs/heads/master v: v3
1 parent 354cf4e commit 94fd8bb

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: dbc2e99693eb20da9b9823bc11953835b156802f
2+
refs/heads/master: f40be999cab20ee51758620d9ccf435c62fcb51f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a

trunk/src/libcore/num/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ mod tests {
798798
}
799799
800800
#[test]
801-
pub fn test_signed() {
801+
fn test_signed() {
802802
assert_eq!(infinity.abs(), infinity);
803803
assert_eq!(1f.abs(), 1f);
804804
assert_eq!(0f.abs(), 0f);

trunk/src/libcore/num/int-template.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,7 @@ mod tests {
553553
/// - `qr`: quotient and remainder
554554
///
555555
#[cfg(test)]
556-
fn test_division_rule(nd: (T,T), qr: (T,T)) {
557-
let (n,d) = nd,
558-
(q,r) = qr;
559-
556+
fn test_division_rule((n,d): (T,T), (q,r): (T,T)) {
560557
assert_eq!(d * q + r, n);
561558
}
562559

0 commit comments

Comments
 (0)