File: 2003_network.patch

package info (click to toggle)
rust-smol 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: perl: 258; python: 148; makefile: 5; sh: 1
file content (16 lines) | stat: -rw-r--r-- 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: avoid network-requiring doctest
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-07-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,7 +9,7 @@
 //!
 //! Connect to an HTTP website, make a GET request, and pipe the response to the standard output:
 //!
-//! ```
+//! ```no_run
 //! use smol::{io, net, prelude::*, Unblock};
 //!
 //! fn main() -> io::Result<()> {