An open API service indexing awesome lists of open source software.

https://github.com/di-void/rsbk-chpt8-ex2

Solution to exercise 2 (Summary Section) in the Rust Book Chapter 8.
https://github.com/di-void/rsbk-chpt8-ex2

Last synced: about 1 year ago
JSON representation

Solution to exercise 2 (Summary Section) in the Rust Book Chapter 8.

Awesome Lists containing this project

README

          

# Pig Latin

Convert strings to pig latin. The first consonant of each word is moved to the end of the word and "ay" is added, so "first" becomes "irst-fay". Words that start with a vowel have "hay" added to the end instead ("apple" becomes "apple-hay").

> Keep in mind the details of UTF-8 encoding.