MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / format_two_args

Function format_two_args

rust/src/lib.rs:2062–2064  ·  view source on GitHub ↗
(string: &str, arg1: &str, arg2: &str)

Source from the content-addressed store, hash-verified

2060}
2061
2062pub fn format_two_args(string: &str, arg1: &str, arg2: &str) -> String {
2063 string.replacen("{}", arg1, 1).replacen("{}", arg2, 1)
2064}
2065
2066pub fn format_three_args(string: &str, arg1: &str, arg2: &str, arg3: &str) -> String {
2067 string

Calls

no outgoing calls

Tested by

no test coverage detected