From d24a25dd58c1c243d3161dbbb5a0e05c05810b0a Mon Sep 17 00:00:00 2001 From: JingMox <154957512+JingMox@users.noreply.github.com> Date: Tue, 11 Aug 2026 15:56:49 +0800 Subject: [PATCH] docs: fix doctest in bux-gvproxy lib.rs quick-start example --- crates/bux-gvproxy/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bux-gvproxy/src/lib.rs b/crates/bux-gvproxy/src/lib.rs index 3fc52ca..f114c49 100644 --- a/crates/bux-gvproxy/src/lib.rs +++ b/crates/bux-gvproxy/src/lib.rs @@ -26,7 +26,7 @@ //! PathBuf::from("/tmp/my-vm/net.sock"), //! vec![(8080, 80), (8443, 443)], //! ); -//! let instance = GvproxyInstance::new(config)?; +//! let instance = GvproxyInstance::new(&config)?; //! let stats = instance.get_stats()?; //! eprintln!("bytes sent: {}", stats.bytes_sent); //! # Ok::<(), bux_gvproxy::Error>(())