Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b00e74c authored by Chris Wailes's avatar Chris Wailes
Browse files

Fix warnings in preparation for Rust 1.54.0

This CL fixes a new warnings generated by rustc 1.54.0.

Bug: 194812675
Test: m rust
Change-Id: I701c9035c77b6912896a23a0000f3949dc8bfc34
parent 3c3202e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ impl Client {
        let headers = vec![
            quiche::h3::Header::new(b":status", b"200"),
            quiche::h3::Header::new(b"content-type", b"application/dns-message"),
            quiche::h3::Header::new(b"content-length", &len.to_string().as_bytes()),
            quiche::h3::Header::new(b"content-length", len.to_string().as_bytes()),
            // TODO: need to add cache-control?
        ];