Correctness in Rust: building strings

from blog Federico's Blog, | ↗ original
Rust tries to follow the "make illegal states unrepresentable" mantra in several ways. In this post I'll show several things related to the process of building strings, from bytes in memory, or from a file, or from char * things passed from C. Strings in Rust The easiest way to build …