Skip to content

Commit 8fb2886

Browse files
qinqoncathay4t
authored andcommitted
rule: Fix error typo
Signed-off-by: Enrique Llorente <[email protected]>
1 parent 6701a5d commit 8fb2886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rule/message.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ impl<'a, T: AsRef<[u8]> + 'a> Parseable<RuleMessageBuffer<&'a T>>
3333
{
3434
fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result<Self, DecodeError> {
3535
let header = RuleHeader::parse(buf)
36-
.context("failed to parse link message header")?;
36+
.context("failed to parse rule message header")?;
3737
let attributes = Vec::<RuleAttribute>::parse(buf)
38-
.context("failed to parse link message NLAs")?;
38+
.context("failed to parse rule message NLAs")?;
3939
Ok(RuleMessage { header, attributes })
4040
}
4141
}

0 commit comments

Comments
 (0)