From c48b26be50140440b06c8ce2ad4695bf2224c901 Mon Sep 17 00:00:00 2001 From: Andy Gayton Date: Tue, 23 Jul 2024 13:49:53 -0400 Subject: [PATCH] Update crates/nu-plugin-engine/src/persistent.rs Thanks Ian! Co-authored-by: Ian Manske --- crates/nu-plugin-engine/src/persistent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-plugin-engine/src/persistent.rs b/crates/nu-plugin-engine/src/persistent.rs index 18c42e1330..69f5c7f7a8 100644 --- a/crates/nu-plugin-engine/src/persistent.rs +++ b/crates/nu-plugin-engine/src/persistent.rs @@ -312,7 +312,7 @@ impl RegisteredPlugin for PersistentPlugin { // RAII guard that will be stored on the plugin. let plugin = Arc::downgrade(&self); handlers.register(Box::new(move || { - // write a Ctrl-C packet through the PluginInterface is the plugin is alive and + // write a Ctrl-C packet through the PluginInterface if the plugin is alive and // running if let Some(plugin) = plugin.upgrade() { if let Ok(mutable) = plugin.mutable.lock() {