proto_artiq: update alloc type path

pull/1745/head
occheung 2021-07-22 16:26:19 +08:00
parent 97a0132f15
commit ebb9f298b5
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
use core::str::Utf8Error;
use alloc::{Vec, String};
use alloc::{vec::Vec, string::String};
#[cfg(feature = "log")]
use log;

View File

@ -1,5 +1,5 @@
use core::str::Utf8Error;
use alloc::{Vec, String};
use alloc::{vec::Vec, string::String};
use io::{Read, ProtoRead, Write, ProtoWrite, Error as IoError, ReadStringError};