summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2020-03-25 00:46:18 -0500
committerStuart Stock <stuart@int08h.com>2020-03-25 00:46:32 -0500
commitdad2ecaec8c69c1e37dec79521a47b3e938bad01 (patch)
tree425d189d7475689d6ce0328ba5cd51bec2626630
parentf46c503518ffb5f3209d015c6a5292810a3ec074 (diff)
downloadroughenough-dad2ecaec8c69c1e37dec79521a47b3e938bad01.zip
Fix comment typo
-rw-r--r--src/message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.rs b/src/message.rs
index 9f719e6..bfb2e4b 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -287,7 +287,7 @@ impl RtMessage {
let mut padding_needed = 1024 - size;
if self.tags.len() == 1 {
// If we currently only have one tag, adding a padding tag will cause
- // a 32-bit offset values to be written
+ // a 32-bit offset value to be written
padding_needed -= 4;
}
padding_needed -= Tag::PAD.wire_value().len();