Skip to content

Commit bae9d95

Browse files
committed
Code changes
1 parent 625c2ad commit bae9d95

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/export/logs

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/export/logs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub struct LogBatch<'a> {
2626
/// - A shared reference to a vector of tuples, where each tuple consists of a `LogRecord` and an `InstrumentationScope`.
2727
/// - Or it can be a slice of tuples, where each tuple consists of a reference to a `LogRecord` and a reference to an `InstrumentationScope`.
2828
#[derive(Debug)]
29-
#[allow(clippy::vec_box)] // TODO: Revisit this. Clippy complains about using Box in a Vec, but it's done here for performant moves of the data between channel and the vec.
29+
#[allow(clippy::vec_box)] // Clippy complains about using Box in a Vec, but it's done here for performant moves of the data between channel and the vec.
3030
enum LogBatchData<'a> {
3131
BorrowedVec(&'a Vec<Box<(LogRecord, InstrumentationScope)>>), // Used by BatchProcessor which clones the LogRecords for its own use.
3232
BorrowedSlice(&'a [(&'a LogRecord, &'a InstrumentationScope)]),

0 commit comments

Comments
 (0)