Skip to content

Commit 44f40a2

Browse files
committed
swap documentation
1 parent 7b8e1cb commit 44f40a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/utils-get_code_dependency.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ fix_shifted_comments <- function(calls) {
145145
Filter(nrow, calls)
146146
}
147147

148-
#' Fixes edge case of `<-` assignment operator being called as function,
149-
#' which is \code{`<-`(y,x)} instead of traditional `y <- x`.
148+
#' Fixes edge case of `:=` assignment operator being treated as assignemnt.
150149
#' @keywords internal
151150
#' @noRd
152151
remove_dt_assign <- function(calls) {
@@ -162,7 +161,8 @@ remove_dt_assign <- function(calls) {
162161
})
163162
}
164163

165-
#' Fixes edge case of `:=` assignment operator being treated as assignemnt.
164+
#' Fixes edge case of `<-` assignment operator being called as function,
165+
#' which is \code{`<-`(y,x)} instead of traditional `y <- x`.
166166
#' @keywords internal
167167
#' @noRd
168168
fix_arrows <- function(calls) {

0 commit comments

Comments
 (0)