summaryrefslogtreecommitdiff
path: root/src/message.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2019-01-19 14:21:35 -0600
committerStuart Stock <stuart@int08h.com>2019-01-19 15:12:37 -0600
commitdda66ba5b6ab2fbdee3b9fcd92741b1127f9c597 (patch)
treeb1206f0f45ddb7634b6b0c313d6f63929b98aaa7 /src/message.rs
parent88f029137b7f519dd842ff745434ffaef4c05f82 (diff)
downloadroughenough-dda66ba5b6ab2fbdee3b9fcd92741b1127f9c597.zip
Rust 2018 edition migration
Diffstat (limited to 'src/message.rs')
-rw-r--r--src/message.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/message.rs b/src/message.rs
index 429a5e5..09ceeae 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -17,8 +17,8 @@ use std::collections::HashMap;
use std::io::{Cursor, Read, Write};
use std::iter::once;
-use error::Error;
-use tag::Tag;
+use crate::error::Error;
+use crate::tag::Tag;
///
/// A Roughtime protocol message; a map of u32 tags to arbitrary byte-strings.
@@ -289,9 +289,9 @@ impl RtMessage {
#[cfg(test)]
mod test {
use byteorder::{LittleEndian, ReadBytesExt};
- use message::*;
+ use crate::message::*;
use std::io::{Cursor, Read};
- use tag::Tag;
+ use crate::tag::Tag;
#[test]
fn empty_message_size() {