Typo fix

As you see in my commit, this is a "cargo-cult" bugfix. I'm trying to understand how the API works, and in my wanderings, I noticed that it seems like there's a typo here. 
Thanks,
Chris