MCPcopy Create free account
hub / github.com/FeatureProbe/server-sdk-rust / concat_reason

Function concat_reason

src/evaluate.rs:624–629  ·  view source on GitHub ↗
(reason1: String, reason2: Option<String>)

Source from the content-addressed store, hash-verified

622}
623
624fn concat_reason(reason1: String, reason2: Option<String>) -> String {
625 if let Some(reason2) = reason2 {
626 return format!("{reason1}. {reason2}.");
627 }
628 format!("{reason1}.")
629}
630
631#[cfg(test)]
632mod tests {

Callers 1

fixed_variationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected