pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Fix quick start guide println

Open zadjadr opened this issue 1 year ago • 1 comments

Otherwise you get this error:

error: invalid format string: expected `'}'`, found `'?'`
  --> src/main.rs:21:47
   |
21 |         println!("upstream peer is: {:upstream?}");
   |                                     -         ^ expected `'}'` in format string
   |                                     |
   |                                     because of this opening brace
   |
   = note: if you intended to print `{`, you can escape it using `{{`

error: could not compile `pnginx` (bin "pnginx") due to 1 previous error

zadjadr avatar Mar 01 '24 19:03 zadjadr

LGTM

1000Delta avatar Mar 07 '24 13:03 1000Delta

Thanks, we forgot to sync a commit last week that fixed this, it is synced now. Closing.

andrewhavck avatar Mar 08 '24 23:03 andrewhavck