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.
- Host: GitHub
- URL: https://github.com/di-void/rsbk-chpt8-ex2
- Owner: di-void
- Created: 2023-11-28T16:50:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T16:57:59.000Z (over 2 years ago)
- Last Synced: 2025-02-13T20:35:24.900Z (over 1 year ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.