Skip to content

Commit 30062bc

Browse files
alexcrichtonEricson2314
authored andcommitted
Fallout of io => old_io
1 parent 76ce1ea commit 30062bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libserialize/json.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ mod tests {
26172617
use super::JsonEvent::*;
26182618
use super::{Json, from_str, DecodeResult, DecoderError, JsonEvent, Parser,
26192619
StackElement, Stack, Decoder, Encoder, EncoderError};
2620-
use std::{i64, u64, f32, f64};
2620+
use std::{i64, u64, f32, f64, old_io};
26212621
use std::collections::BTreeMap;
26222622
use std::num::Float;
26232623
use std::string;
@@ -3945,6 +3945,7 @@ mod tests {
39453945

39463946
#[test]
39473947
fn test_encode_hashmap_with_arbitrary_key() {
3948+
use std::str::from_utf8;
39483949
use std::old_io::Writer;
39493950
use std::collections::HashMap;
39503951
use std::fmt;

0 commit comments

Comments
 (0)