No callers of rupdate()
This commit is contained in:
parent
73192735e0
commit
44de4f118c
13
route.js
13
route.js
|
@ -150,19 +150,6 @@ function Routing(exports) {
|
||||||
return s.slice();
|
return s.slice();
|
||||||
}
|
}
|
||||||
|
|
||||||
function rupdate(r, key, k) {
|
|
||||||
if (is_emptyMatcher(k)) {
|
|
||||||
if (is_emptyMatcher(r)) return r;
|
|
||||||
r = r.copy();
|
|
||||||
r.clear(key);
|
|
||||||
return r.emptyGuard();
|
|
||||||
} else {
|
|
||||||
r = (is_emptyMatcher(r) ? new $Dict() : r.copy());
|
|
||||||
r.set(key, k);
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function rupdateInplace(r, key, k) {
|
function rupdateInplace(r, key, k) {
|
||||||
if (is_emptyMatcher(k)) {
|
if (is_emptyMatcher(k)) {
|
||||||
r.clear(key);
|
r.clear(key);
|
||||||
|
|
Loading…
Reference in New Issue