Skip to content

Commit

Permalink
docs(rust): Fix some word-repetition in code comments (pola-rs#14825)
Browse files Browse the repository at this point in the history
Signed-off-by: geekvest <[email protected]>
  • Loading branch information
geekvest authored Mar 3, 2024
1 parent 5a5abdc commit a61d5d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/polars-core/src/frame/group_by/into_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::utils::flatten::flatten_par;
pub trait IntoGroupsProxy {
/// Create the tuples need for a group_by operation.
/// * The first value in the tuple is the first index of the group.
/// * The second value in the tuple is are the indexes of the groups including the first value.
/// * The second value in the tuple is the indexes of the groups including the first value.
fn group_tuples(&self, _multithreaded: bool, _sorted: bool) -> PolarsResult<GroupsProxy> {
unimplemented!()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl<'a, I: Iterator<Item = Result<HybridEncoded<'a>, Error>>> FilteredHybridBit
}

/// Returns the number of elements remaining. Note that each run
/// of the iterator contains more than one element - this is is _not_ equivalent to size_hint.
/// of the iterator contains more than one element - this is _not_ equivalent to size_hint.
pub fn len(&self) -> usize {
self.total_items
}
Expand Down
2 changes: 1 addition & 1 deletion crates/polars/tests/it/io/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ fn test_newline_in_custom_quote_char() {

#[test]
fn test_escape_2() {
// this is is harder than it looks.
// this is harder than it looks.
// Fields:
// * hello
// * ","
Expand Down

0 comments on commit a61d5d6

Please sign in to comment.