File: fix-type-annotations-error.patch

package info (click to toggle)
rust-condure 1.10.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,384 kB
  • sloc: python: 345; makefile: 10
file content (13 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: condure/src/connection.rs
===================================================================
--- condure.orig/src/connection.rs
+++ condure/src/connection.rs
@@ -4225,7 +4225,7 @@ async fn server_stream_connection_inner<
                         let shared = shared.get();
 
                         let msg = if let Some(addr) = shared.to_addr().get() {
-                            let id = cid.as_ref();
+                            let id : &str = cid.as_ref();
 
                             let mut zreq = zhttppacket::Request::new_cancel(b"", &[]);