This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
impl<'a> From<&'a str> for NumStr<'a> { | |
fn from(source: &'a str) -> Self { | |
unsafe { | |
let op = source.slice_unchecked(0, 1); | |
let inner = source.slice_unchecked(1, source.len()); | |
if op == NEG { | |
NumStr { | |
source, | |
inner: inner.as_bytes(), | |
is_negative: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.userosscache | |
*.sln.docstates | |
# User-specific files (MonoDevelop/Xamarin Studio) |