MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / merge_temp_args

Function merge_temp_args

src/python/py_expr.rs:44–51  ·  view source on GitHub ↗
(
    a: &BTreeMap<usize, String>,
    b: &BTreeMap<usize, String>,
)

Source from the content-addressed store, hash-verified

42}
43
44fn merge_temp_args(
45 a: &BTreeMap<usize, String>,
46 b: &BTreeMap<usize, String>,
47) -> BTreeMap<usize, String> {
48 let mut merged = a.clone();
49 merged.extend(b.iter().map(|(k, v)| (*k, v.clone())));
50 merged
51}
52
53impl PyExpr {
54 pub fn new(inner: Expr) -> Self {

Callers 2

binop_with_temp_argsMethod · 0.85
cmpop_with_temp_argsMethod · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected