Skip to content

Commit

Permalink
Update R/use_crate.R
Browse files Browse the repository at this point in the history
Co-authored-by: Josiah Parry <josiah.parry@gmail.com>
  • Loading branch information
kbvernon and JosiahParry authored Aug 1, 2024
1 parent f43ab62 commit 1c207fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/use_crate.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ use_crate <- function(
# combine option names and values into single strings
adtl_args <- unname(purrr::imap_chr(
cargo_add_opts,
\(x, i){ paste(i, paste0(x, collapse = " ")) }
function(x, i){ paste(i, paste0(x, collapse = " ")) }
))

# get rust directory in project folder
Expand Down

0 comments on commit 1c207fe

Please sign in to comment.