We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TipRequest::to_string()
1 parent b7c82ca commit 9ae3d77Copy full SHA for 9ae3d77
stackslib/src/net/httpcore.rs
@@ -316,7 +316,7 @@ impl HttpRequestContentsExtensions for HttpRequestContents {
316
/// Use a particular tip request
317
fn for_tip(mut self, tip_req: TipRequest) -> Self {
318
if tip_req != TipRequest::UseLatestAnchoredTip {
319
- self.query_arg("tip".to_string(), format!("{}", &tip_req.to_string()))
+ self.query_arg("tip".to_string(), tip_req.to_string())
320
} else {
321
let _ = self.take_query_arg(&"tip".to_string());
322
self
0 commit comments