proto_artiq: update alloc type path

This commit is contained in:
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 core::str::Utf8Error;
use alloc::{Vec, String}; use alloc::{vec::Vec, string::String};
#[cfg(feature = "log")] #[cfg(feature = "log")]
use log; use log;

View File

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