Skip to content

Commit 177abcf

Browse files
committed
Fix typo
1 parent a599c1c commit 177abcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl LogProcessor for BatchLogProcessor {
308308

309309
if !self.export_log_message_sent.load(Ordering::Relaxed) {
310310
// This is a cost-efficient check as atomic load operations do not require exclusive access to cache line.
311-
// Perform atomic swap to `export_log_message_sent` ONLY when the atomic load operation abbove returns false.
311+
// Perform atomic swap to `export_log_message_sent` ONLY when the atomic load operation above returns false.
312312
// Atomic swap/compare_exchange operations require exclusive access to cache line on most processor architectures.
313313
// We could have used compare_exchange as well here, but it's more verbose than swap. Also, swap uses compare_exchange internally anyway.
314314
if !self.export_log_message_sent.swap(true, Ordering::Relaxed) {

0 commit comments

Comments
 (0)