From ebb9f298b5ce0c01c2c7b2472cd207d5b82f0cea Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 22 Jul 2021 16:26:19 +0800 Subject: [PATCH] proto_artiq: update alloc type path --- artiq/firmware/libproto_artiq/mgmt_proto.rs | 2 +- artiq/firmware/libproto_artiq/session_proto.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/libproto_artiq/mgmt_proto.rs b/artiq/firmware/libproto_artiq/mgmt_proto.rs index 93f81c40b..911799ef4 100644 --- a/artiq/firmware/libproto_artiq/mgmt_proto.rs +++ b/artiq/firmware/libproto_artiq/mgmt_proto.rs @@ -1,5 +1,5 @@ use core::str::Utf8Error; -use alloc::{Vec, String}; +use alloc::{vec::Vec, string::String}; #[cfg(feature = "log")] use log; diff --git a/artiq/firmware/libproto_artiq/session_proto.rs b/artiq/firmware/libproto_artiq/session_proto.rs index db353e874..99412de10 100644 --- a/artiq/firmware/libproto_artiq/session_proto.rs +++ b/artiq/firmware/libproto_artiq/session_proto.rs @@ -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};