Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(rust): Fix some typos in comments #15665

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pub(super) fn flush_operators(
}
},
// The branch for pushing data in the operators.
// This is the same as the default stack exectuor, except now it pushes
// This is the same as the default stack executor, except now it pushes
// `Some(chunk)` instead of `chunk`.
Some(chunk) => {
match operators.get_mut(op_i) {
Expand Down
2 changes: 1 addition & 1 deletion crates/polars/tests/it/io/parquet/write/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use polars_parquet::parquet::types::ord_binary;
use polars_parquet::parquet::write::WriteOptions;

fn unzip_option(array: &[Option<Vec<u8>>]) -> Result<(Vec<u8>, Vec<u8>)> {
// leave the first 4 bytes anouncing the length of the def level
// leave the first 4 bytes announcing the length of the def level
// this will be overwritten at the end, once the length is known.
// This is unknown at this point because of the uleb128 encoding,
// whose length is variable.
Expand Down
2 changes: 1 addition & 1 deletion crates/polars/tests/it/io/parquet/write/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use polars_parquet::parquet::types::NativeType;
use polars_parquet::parquet::write::WriteOptions;

fn unzip_option<T: NativeType>(array: &[Option<T>]) -> Result<(Vec<u8>, Vec<u8>)> {
// leave the first 4 bytes anouncing the length of the def level
// leave the first 4 bytes announcing the length of the def level
// this will be overwritten at the end, once the length is known.
// This is unknown at this point because of the uleb128 encoding,
// whose length is variable.
Expand Down
Loading