Skip to content

Commit 4dd7cb8

Browse files
committed
Fix code format
1 parent 864b4fa commit 4dd7cb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/subscription.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ impl KafkaConfiguration {
5050

5151
/// Get the kafka configuration's topic split on commas.
5252
pub fn topic_as_array(&self) -> Vec<String> {
53-
self.topic.split(',')
53+
self.topic
54+
.split(',')
5455
.map(|s| s.trim().to_string())
5556
.filter(|s| !s.is_empty())
5657
.collect()

0 commit comments

Comments
 (0)