Skip to content

Commit 987d9dc

Browse files
committed
---
yaml --- r: 149667 b: refs/heads/try2 c: 79e6ab5 h: refs/heads/master i: 149665: 8303f9c 149663: 1b7d04f v: v3
1 parent b4c6b01 commit 987d9dc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: d89074c8ae11d52b3b92d73bc684f5b964a05cf5
8+
refs/heads/try2: 79e6ab54d13b8a5b8c17093186c39e493784bdc6
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libnative/io/process.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ fn spawn_process_os(config: p::ProcessConfig,
470470
Err(e) => {
471471
assert!(e.kind == io::BrokenPipe ||
472472
e.kind == io::EndOfFile,
473-
"unexpected error: {:?}", e);
473+
"unexpected error: {}", e);
474474
Ok(SpawnProcessResult {
475475
pid: pid,
476476
handle: ptr::null()
@@ -744,7 +744,7 @@ fn waitpid(pid: pid_t) -> p::ProcessExit {
744744

745745
let mut status = 0 as c_int;
746746
match retry(|| unsafe { wait::waitpid(pid, &mut status, 0) }) {
747-
-1 => fail!("unknown waitpid error: {:?}", super::last_error()),
747+
-1 => fail!("unknown waitpid error: {}", super::last_error()),
748748
_ => {
749749
if imp::WIFEXITED(status) {
750750
p::ExitStatus(imp::WEXITSTATUS(status) as int)

branches/try2/src/libstd/num/strconv.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,19 +532,19 @@ pub fn from_str_bytes_common<T:NumCast+Zero+One+Eq+Ord+Div<T,T>+
532532
) -> Option<T> {
533533
match exponent {
534534
ExpDec if radix >= DIGIT_E_RADIX // decimal exponent 'e'
535-
=> fail!("from_str_bytes_common: radix {:?} incompatible with \
535+
=> fail!("from_str_bytes_common: radix {} incompatible with \
536536
use of 'e' as decimal exponent", radix),
537537
ExpBin if radix >= DIGIT_P_RADIX // binary exponent 'p'
538-
=> fail!("from_str_bytes_common: radix {:?} incompatible with \
538+
=> fail!("from_str_bytes_common: radix {} incompatible with \
539539
use of 'p' as binary exponent", radix),
540540
_ if special && radix >= DIGIT_I_RADIX // first digit of 'inf'
541-
=> fail!("from_str_bytes_common: radix {:?} incompatible with \
541+
=> fail!("from_str_bytes_common: radix {} incompatible with \
542542
special values 'inf' and 'NaN'", radix),
543543
_ if (radix as int) < 2
544-
=> fail!("from_str_bytes_common: radix {:?} to low, \
544+
=> fail!("from_str_bytes_common: radix {} to low, \
545545
must lie in the range [2, 36]", radix),
546546
_ if (radix as int) > 36
547-
=> fail!("from_str_bytes_common: radix {:?} to high, \
547+
=> fail!("from_str_bytes_common: radix {} to high, \
548548
must lie in the range [2, 36]", radix),
549549
_ => ()
550550
}

0 commit comments

Comments
 (0)