diff options
author | Kyle Kelley <rgbkrk@gmail.com> | 2024-07-27 01:39:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-27 10:39:08 +0200 |
commit | 63f8218a7d9c70b214408c951b9cf038403a9229 (patch) | |
tree | 3fb9512b913e42913aaaeab31cb17d38a8594d65 /cli/tools/jupyter/mod.rs | |
parent | 06b6352292b69359768c99a1fc984fa4bdcd07c9 (diff) |
fix: adapt to new jupyter runtime API and include session IDs (#24762)
Closes #24737, #24437.
Diffstat (limited to 'cli/tools/jupyter/mod.rs')
-rw-r--r-- | cli/tools/jupyter/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<usize> { self .0 - .send(StreamContent::stdout( - String::from_utf8_lossy(buf).into_owned(), - )) + .send(StreamContent::stdout(&String::from_utf8_lossy(buf))) .ok(); Ok(buf.len()) } |