Skip to content

Commit

Permalink
Improve comment wording
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Oct 1, 2024
1 parent dcb0a48 commit db1a600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data.table.R
Original file line number Diff line number Diff line change
Expand Up @@ -2923,7 +2923,7 @@ setDT = function(x, keep.rownames=FALSE, key=NULL, check.names=FALSE) {
}
}

# setalloccol results in a shallow copy. Must be performed before class setting not to affect other copies of x (#4784)
# Done to avoid affecting other copies of x when we setattr() below (#4784)
x = .shallow(x)

rn = if (!identical(keep.rownames, FALSE)) rownames(x) else NULL
Expand Down

0 comments on commit db1a600

Please sign in to comment.