mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
chore: run cargo update (#295062)
This commit is contained in:
@@ -69,7 +69,7 @@ pub async fn start_json_rpc<C: Send + Sync + 'static, S: Clone>(
|
||||
n = read.read_line(&mut read_buf) => {
|
||||
let r = match n {
|
||||
Ok(0) => return Ok(None),
|
||||
Ok(n) => dispatcher.dispatch(read_buf[..n].as_bytes()),
|
||||
Ok(n) => dispatcher.dispatch(&read_buf.as_bytes()[..n]),
|
||||
Err(e) => return Err(e)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user