From 94ee8cd8b98360ad23c22d8ee81f6bdf442db82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Paul=20Pe=C3=B1aranda=20Rojas?= Date: Thu, 29 Feb 2024 13:53:05 -0500 Subject: [PATCH] fix: typo quick start doc snippet --- docs/quick_start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quick_start.md b/docs/quick_start.md index c59add23..0c9a19a7 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -77,7 +77,7 @@ impl ProxyHttp for LB { .select(b"", 256) // hash doesn't matter for round robin .unwrap(); - println!("upstream peer is: {:upstream?}"); + println!("upstream peer is: {:?}", upstream); // Set SNI to one.one.one.one let peer = Box::new(HttpPeer::new(upstream, true, "one.one.one.one".to_string())); @@ -321,4 +321,4 @@ The full code for this example is available in this repository under Other examples that you may find helpful are also available here [pingora-proxy/examples/](../pingora-proxy/examples/) -[pingora/examples](../pingora/examples/) \ No newline at end of file +[pingora/examples](../pingora/examples/)