Skip to content

Commit 33903f0

Browse files
committed
chore: fmt
1 parent 6e1c15c commit 33903f0

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/config/transform.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ pub struct TransformContext {
162162
/// (e.g. `aws_ec2_metadata`, `throttle`) clone this and pass it to [`crate::cpu_time::spawn_timed`] so
163163
/// their CPU is attributed to the component alongside the main transform task.
164164
pub cpu_ns: Option<Counter>,
165-
166165
}
167166

168167
impl Default for TransformContext {

src/transforms/sample/config.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,11 @@ mod tests {
317317
exclude: None,
318318
};
319319

320-
assert!(config.validate(&crate::config::TransformContext::default()).is_ok());
320+
assert!(
321+
config
322+
.validate(&crate::config::TransformContext::default())
323+
.is_ok()
324+
);
321325
}
322326

323327
#[test]

0 commit comments

Comments
 (0)