summaryrefslogtreecommitdiff
path: root/src/message.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2017-07-02 22:42:15 -0500
committerStuart Stock <stuart@int08h.com>2017-07-02 22:42:15 -0500
commitd1cadbd16107a63053a9ddd0d2c495a1f385196c (patch)
tree412775f87eb787aad1da009cb850823710339a38 /src/message.rs
parent18f8fba31be0fd1f41632064d1868e9f6a807bd4 (diff)
downloadroughenough-d1cadbd16107a63053a9ddd0d2c495a1f385196c.zip
first version of working server
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 996550f..0de93c0 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -5,7 +5,7 @@ use byteorder::{LittleEndian, WriteBytesExt};
use tag::Tag;
use error::Error;
-///
+///
/// A Roughtime protocol message; a map of u32 tags to arbitrary byte-strings.
///
#[derive(Debug)]
@@ -15,7 +15,6 @@ pub struct RtMessage {
}
impl RtMessage {
-
/// Construct a new RtMessage
///
/// ## Arguments
@@ -33,8 +32,9 @@ impl RtMessage {
///
/// ## Arguments
///
- /// * `tag` - The [`Tag`](enum.Tag.html) to add. Tags must be added in **strictly increasing order**,
- /// violating this will result in a [`Error::TagNotStrictlyIncreasing`](enum.Error.html).
+ /// * `tag` - The [`Tag`](enum.Tag.html) to add. Tags must be added in **strictly
+ /// increasing order**, violating this will result in a
+ /// [`Error::TagNotStrictlyIncreasing`](enum.Error.html).
///
/// * `value` - Value for the tag.
///