mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: Cleaning up some warnings.
This commit is contained in:
parent
3dd0cc6794
commit
4ba4355d37
@ -337,11 +337,11 @@ impl Builtins {
|
||||
// TODO(jwall): This can also be tuples or strings.
|
||||
let elems = match list.as_ref() {
|
||||
&C(List(ref elems)) => elems,
|
||||
&C(Tuple(ref flds)) => {
|
||||
unimplemented!("Tuple functional operations");
|
||||
&C(Tuple(ref _flds)) => {
|
||||
unimplemented!("TODO Tuple functional operations");
|
||||
}
|
||||
&P(Str(ref s)) => {
|
||||
unimplemented!("string functional operations");
|
||||
&P(Str(ref _s)) => {
|
||||
unimplemented!("TODO String functional operations");
|
||||
}
|
||||
_ => return Err(dbg!(Error {})),
|
||||
};
|
||||
@ -394,11 +394,11 @@ impl Builtins {
|
||||
// TODO(jwall): This can also be tuples or strings.
|
||||
let elems = match list.as_ref() {
|
||||
&C(List(ref elems)) => elems,
|
||||
&C(Tuple(ref flds)) => {
|
||||
unimplemented!("Tuple functional operations");
|
||||
&C(Tuple(ref _flds)) => {
|
||||
unimplemented!("TODO Tuple functional operations");
|
||||
}
|
||||
&P(Str(ref s)) => {
|
||||
unimplemented!("string functional operations");
|
||||
&P(Str(ref _s)) => {
|
||||
unimplemented!("TODO String functional operations");
|
||||
}
|
||||
_ => return Err(dbg!(Error {})),
|
||||
};
|
||||
@ -483,11 +483,11 @@ impl Builtins {
|
||||
// TODO(jwall): This can also be tuples or strings.
|
||||
let elems = match list.as_ref() {
|
||||
&C(List(ref elems)) => elems,
|
||||
&C(Tuple(ref flds)) => {
|
||||
unimplemented!("Tuple functional operations");
|
||||
&C(Tuple(ref _flds)) => {
|
||||
unimplemented!("TODO Tuple functional operations");
|
||||
}
|
||||
&P(Str(ref s)) => {
|
||||
unimplemented!("string functional operations");
|
||||
&P(Str(ref _s)) => {
|
||||
unimplemented!("TODO String functional operations");
|
||||
}
|
||||
_ => return Err(dbg!(Error {})),
|
||||
};
|
||||
|
@ -615,7 +615,7 @@ where
|
||||
}
|
||||
};
|
||||
if safe {
|
||||
self.push(Rc::new(P(Empty)));
|
||||
self.push(Rc::new(P(Empty)))?;
|
||||
return Ok(());
|
||||
}
|
||||
return Err(dbg!(Error {}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user