Skip to content

Commit ca19105

Browse files
authored
Fix release mode warning (#685)
1 parent ca83e61 commit ca19105

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/ark/src/modules.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ use libr::SEXP;
1818
use once_cell::sync::Lazy;
1919
use rust_embed::RustEmbed;
2020

21-
use crate::r_task;
22-
2321
#[derive(RustEmbed)]
2422
#[folder = "src/modules/positron"]
2523
struct PositronModuleAsset;
@@ -135,7 +133,7 @@ pub fn initialize() -> anyhow::Result<RObject> {
135133

136134
// Spawn the watcher thread when R is idle so we don't try to access
137135
// the R API while R is starting up
138-
r_task::spawn_idle(move || async {
136+
crate::r_task::spawn_idle(move || async {
139137
log::info!("Watching R modules from sources via cargo manifest");
140138
spawn_watcher_thread(root);
141139
});

0 commit comments

Comments
 (0)