Crates.io | loaf |
lib.rs | loaf |
version | 0.2.0-alpha2 |
source | src |
created_at | 2020-07-12 10:59:59.96943 |
updated_at | 2022-06-11 11:57:50.041983 |
description | Why have a slice when you can have a loaf? |
homepage | |
repository | https://github.com/Soveu/loaf |
max_upload_size | |
id | 264352 |
size | 17,963 |
Why have a slice when you can have a loaf?
Sometimes you know that a slice must have at least one element in it,
but Rust forces you to do "last minute decision" by unwrap()
ing Option
from for example first()
for split_first()
methods.