You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-sdk/src/export/logs/mod.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ pub struct LogBatch<'a> {
26
26
/// - A shared reference to a vector of tuples, where each tuple consists of a `LogRecord` and an `InstrumentationScope`.
27
27
/// - Or it can be a slice of tuples, where each tuple consists of a reference to a `LogRecord` and a reference to an `InstrumentationScope`.
28
28
#[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.
30
30
enumLogBatchData<'a>{
31
31
BorrowedVec(&'aVec<Box<(LogRecord,InstrumentationScope)>>),// Used by BatchProcessor which clones the LogRecords for its own use.
0 commit comments