Skip to content

Commit b04f6f9

Browse files
committed
update doc comment for send_with_retry
1 parent 7a9f17d commit b04f6f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/datadog-logs-agent/src/flusher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ impl LogFlusher {
200200
///
201201
/// * `Ok(())` — success **or** a permanent error (no point retrying; already
202202
/// logged at `warn!`).
203-
/// * `Err(builder)` — all attempts exhausted on a transient error. The
204-
/// original builder is returned so the caller can retry it next invocation.
203+
/// * `Err(Box<builder>)` — all attempts exhausted on a transient error. The
204+
/// original builder is returned (boxed) so the caller can retry it next invocation.
205205
async fn send_with_retry(
206206
&self,
207207
builder: reqwest::RequestBuilder,

0 commit comments

Comments
 (0)