Skip to content

Commit

Permalink
chore: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jul 10, 2024
1 parent 4a9d20a commit 1e7e0c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion R/expr-s3-base.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ print.polars_expr <- function(x, ...) {

#' @export
`[.polars_struct_namespace` <- function(x, i, ...) {
# x$field_by_index(i)
if (is.numeric(i)) {
x$field_by_index(i)
} else if (is.character(i)) {
Expand Down
2 changes: 1 addition & 1 deletion R/expr-struct.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ expr_struct_field_by_index <- function(index) {
wrap()
}

# TODO: change to dynamic dots?
# TODO: change to dynamic dots and implement `struct_multiple_fields`
expr_struct_field <- function(name) {
self$`_rexpr`$struct_field_by_name(name) |>
wrap()
Expand Down

0 comments on commit 1e7e0c0

Please sign in to comment.