This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 7342d363d76 Fix typo continuation maker -> marker (#5802)
7342d363d76 is described below

commit 7342d363d76430850e90d70bb1f242b17a02daeb
Author: Douglas Anderson <[email protected]>
AuthorDate: Sat May 25 10:31:17 2024 -0600

    Fix typo continuation maker -> marker (#5802)
---
 arrow-ipc/src/convert.rs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arrow-ipc/src/convert.rs b/arrow-ipc/src/convert.rs
index 49da0efae3a..d8889a361df 100644
--- a/arrow-ipc/src/convert.rs
+++ b/arrow-ipc/src/convert.rs
@@ -176,15 +176,15 @@ pub fn try_schema_from_ipc_buffer(buffer: &[u8]) -> 
Result<Schema, ArrowError> {
     //   4 bytes - the byte length of the payload
     //   a flatbuffer Message whose header is the Schema
     if buffer.len() >= 4 {
-        // check continuation maker
-        let continuation_maker = &buffer[0..4];
-        let begin_offset: usize = if 
continuation_maker.eq(&CONTINUATION_MARKER) {
+        // check continuation marker
+        let continuation_marker = &buffer[0..4];
+        let begin_offset: usize = if 
continuation_marker.eq(&CONTINUATION_MARKER) {
             // 4 bytes: CONTINUATION_MARKER
             // 4 bytes: length
             // buffer
             4
         } else {
-            // backward compatibility for buffer without the continuation maker
+            // backward compatibility for buffer without the continuation 
marker
             // 4 bytes: length
             // buffer
             0
@@ -198,7 +198,7 @@ pub fn try_schema_from_ipc_buffer(buffer: &[u8]) -> 
Result<Schema, ArrowError> {
         Ok(fb_to_schema(ipc_schema))
     } else {
         Err(ArrowError::ParseError(
-            "The buffer length is less than 4 and missing the continuation 
maker or length of buffer".to_string()
+            "The buffer length is less than 4 and missing the continuation 
marker or length of buffer".to_string()
         ))
     }
 }

Reply via email to