Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It is not clear that a function should not be used within the solution. Perhaps a clarification would help. It seems to be an issue many have experienced.
added rust translation https://www.codewars.com/kumite/5ee26ec11434c300106e756a?sel=5ee26ec11434c300106e756a
Not a kata issue. You're not meant to write a function.
If you are using a return statement and receive the following error:
response received but no data was written to stdout or stderr
, try removing your return statement and re-run the tests.