From 2deac938bb23c46365d9f562006d2cba189549c5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 5 Jul 2023 19:26:22 +0200 Subject: [PATCH] better API name --- src/tm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tm.rs b/src/tm.rs index 9b2d110..9d2966d 100644 --- a/src/tm.rs +++ b/src/tm.rs @@ -452,7 +452,7 @@ impl<'raw> PusTmZeroCopyWriter<'raw> { /// Set the sequence count. Returns false and does not update the value if the passed value /// exceeds [MAX_SEQ_COUNT]. - pub fn set_seq_count_in_place(&mut self, seq_count: u16) -> bool { + pub fn set_seq_count(&mut self, seq_count: u16) -> bool { if seq_count > MAX_SEQ_COUNT { return false; }