Update circuit.leo

Change the 2nd variable named `character` in scope to be `character2`.
This commit is contained in:
Eric McCarthy 2021-08-21 22:08:46 -07:00 committed by GitHub
parent 84e972c9ad
commit 26cbb3ffcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,6 @@ circuit Foo {
function main(character: char) -> char { function main(character: char) -> char {
let f = Foo { character }; let f = Foo { character };
let character = f.character == 'a' ? 'a' : f.character; let character2 = f.character == 'a' ? 'a' : f.character;
return character; return character2;
} }