Crate strsplit

Source
Expand description

I built this crate to practice lifetimes, a concept most beginner Rust programmers find difficult to grasp. I followed through this tutorial, here, by Jon Gjengset. What we are implementing is already in the standard library, but what’s a better way to learn lifetimes than by building something with them?

Structs§

Strsplit
Strsplit struct. Create an instance of Strsplit as below

Functions§

until_char
Returns the string before the first instance of the delimiter is found E.g