Remove name field from DBind
This commit is contained in:
parent
a9de02577d
commit
909356caa2
|
@ -110,7 +110,6 @@ pub fn bench_pub(c: &mut Criterion) {
|
||||||
value: _Any::new("bench_pub"),
|
value: _Any::new("bench_pub"),
|
||||||
}))),
|
}))),
|
||||||
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "what".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
].into_iter()),
|
].into_iter()),
|
||||||
|
@ -119,7 +118,6 @@ pub fn bench_pub(c: &mut Criterion) {
|
||||||
});
|
});
|
||||||
ds.assert(t, &Observe {
|
ds.assert(t, &Observe {
|
||||||
pattern: p::Pattern::DBind(Box::new(p::DBind {
|
pattern: p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "shutdownTrigger".to_owned(),
|
|
||||||
pattern: p::Pattern::DLit(Box::new(p::DLit {
|
pattern: p::Pattern::DLit(Box::new(p::DLit {
|
||||||
value: _Any::new(true),
|
value: _Any::new(true),
|
||||||
})),
|
})),
|
||||||
|
|
|
@ -54,11 +54,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
}),
|
}),
|
||||||
members: Map::from_iter(vec![
|
members: Map::from_iter(vec![
|
||||||
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "who".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "what".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
].into_iter()),
|
].into_iter()),
|
||||||
|
|
|
@ -179,11 +179,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
}),
|
}),
|
||||||
members: Map::from_iter(vec![
|
members: Map::from_iter(vec![
|
||||||
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "timestamp".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "padding".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
].into_iter()),
|
].into_iter()),
|
||||||
|
|
|
@ -75,7 +75,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
}),
|
}),
|
||||||
members: Map::from_iter(vec![
|
members: Map::from_iter(vec![
|
||||||
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(0.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "who".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
].into_iter()),
|
].into_iter()),
|
||||||
|
|
|
@ -327,11 +327,9 @@ fn handle_resolve(
|
||||||
value: queried_oid,
|
value: queried_oid,
|
||||||
}))),
|
}))),
|
||||||
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(1.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "key".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
(2.into(), p::Pattern::DBind(Box::new(p::DBind {
|
(2.into(), p::Pattern::DBind(Box::new(p::DBind {
|
||||||
name: "target".to_owned(),
|
|
||||||
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
pattern: p::Pattern::DDiscard(Box::new(p::DDiscard)),
|
||||||
}))),
|
}))),
|
||||||
].into_iter())
|
].into_iter())
|
||||||
|
|
Loading…
Reference in New Issue