mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
Make JSON output from -Zprofile-json valid
This commit is contained in:
parent
6acbb5b65c
commit
2d2b7c01eb
@ -102,7 +102,7 @@ macro_rules! define_categories {
|
||||
};
|
||||
|
||||
json.push_str(&format!(
|
||||
"{{ \"category\": {}, \"time_ms\": {},
|
||||
"{{ \"category\": \"{}\", \"time_ms\": {},\
|
||||
\"query_count\": {}, \"query_hits\": {} }},",
|
||||
stringify!($name),
|
||||
self.times.$name / 1_000_000,
|
||||
|
Loading…
Reference in New Issue
Block a user