Skip to content

Commit a32a48f

Browse files
feat(divan_compat): put args between brackets in bench URI
1 parent 897a63e commit a32a48f

File tree

1 file changed

+4
-0
lines changed
  • crates/divan_compat/src/compat

1 file changed

+4
-0
lines changed

crates/divan_compat/src/compat/uri.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ pub(crate) fn generate(
1717

1818
uri
1919
}
20+
21+
pub(crate) fn append_arg(uri: &str, arg: &str) -> String {
22+
format!("{uri}[{arg}]")
23+
}

0 commit comments

Comments
 (0)