strings
strings copied to clipboard
Rust String Libraries by mcyoung
`ilex` version: `0.5.0` `Digital` rules that don't have prefixes panic on some invalid inputs, from the `unwrap` here https://github.com/mcy/strings/blob/42960bdadc18739fc24f467ee6069f222cecb19d/ilex/src/rt/emit2.rs#L540 example: ```rust use ilex::{rule::Digital, Lexeme}; #[ilex::spec] struct NoPrefix { #[named] #[rule(Digital::new(10))]...
This is intended to be akin to the `FromStr` implementation for `String` [found in `std::string`](https://doc.rust-lang.org/src/alloc/string.rs.html#2407-2413).
I am packaging `byteyarn` for Fedora because it is a dependency of `gitoxide`. When running doctests on i686 and s390x machines, most doctests fail. See: * https://kojipkgs.fedoraproject.org//work/tasks/7659/107107659/build.log * https://kojipkgs.fedoraproject.org//work/tasks/7663/107107663/build.log There...
It would be cool to have these methods ```rust impl { pub fn from_cow(c: Cow From {/***/} ``` Also, can I somehow find out the type of a `Yarn` value:...