From 63f8218a7d9c70b214408c951b9cf038403a9229 Mon Sep 17 00:00:00 2001 From: Kyle Kelley Date: Sat, 27 Jul 2024 01:39:08 -0700 Subject: fix: adapt to new jupyter runtime API and include session IDs (#24762) Closes #24737, #24437. --- cli/tools/jupyter/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/tools/jupyter/mod.rs') diff --git a/cli/tools/jupyter/mod.rs b/cli/tools/jupyter/mod.rs index eff7f4f9d..7e88f92c2 100644 --- a/cli/tools/jupyter/mod.rs +++ b/cli/tools/jupyter/mod.rs @@ -125,9 +125,7 @@ pub async fn kernel( fn write(&mut self, buf: &[u8]) -> std::io::Result { self .0 - .send(StreamContent::stdout( - String::from_utf8_lossy(buf).into_owned(), - )) + .send(StreamContent::stdout(&String::from_utf8_lossy(buf))) .ok(); Ok(buf.len()) } -- cgit v1.2.3