mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
fixed bug with function-iterators
This commit is contained in:
parent
34be9adef2
commit
e4ef85a9ea
@ -204,7 +204,7 @@ impl VSingleType {
|
|||||||
// function that takes no inputs
|
// function that takes no inputs
|
||||||
if let Some(out) = f.iter().find_map(|(args, out)| {
|
if let Some(out) = f.iter().find_map(|(args, out)| {
|
||||||
if args.is_empty() {
|
if args.is_empty() {
|
||||||
Some(out.clone())
|
Some(out.clone().inner_types())
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user