Skip to content

Commit

Permalink
Merge branch 'hds/remove-location-trailing-space' into location-readable
Browse files Browse the repository at this point in the history
  • Loading branch information
guerinoni committed Jul 3, 2023
2 parents bba1c6b + 27a572d commit 274681e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-console/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ fn format_location(loc: Option<proto::Location>) -> String {
let truncated = truncate_registry_path(file);
l.file = Some(truncated);
}
format!("{} ", l)
format!("{}", l)
})
.unwrap_or_else(|| "<unknown location>".to_string())
}
Expand Down

0 comments on commit 274681e

Please sign in to comment.