Skip to content

Commit f92c6d5

Browse files
committed
use_extendr: change the template
1 parent fd6a42e commit f92c6d5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

R/use_extendr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ as_valid_rust_name <- function(name) {
305305
#' @param call \[ env \] Environment of the caller, passed to `cli::cli_abort()`.
306306
#' @noRd
307307
throw_if_invalid_rust_name <- function(name, call = caller_env()) {
308-
quo <- enquo(name) # nolint: object_usage_linter
308+
quo <- rlang::enquo(name) # nolint: object_usage_linter
309309
if (!rlang::is_scalar_character(name) || !is_valid_rust_name(name)) {
310310
cli::cli_abort(
311311
c(

inst/templates/_gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
*.dll
44
target
55
.cargo
6+
rust/vendor
7+
Makevars
8+
Makevars.win

0 commit comments

Comments
 (0)