dylanhart / ulid-rs

This is a Rust implementation of the ulid project
https://crates.io/crates/ulid
MIT License
385 stars 37 forks source link

Fix clippy #6

Closed kanru closed 5 years ago

kanru commented 5 years ago

Uuid v4 by spec must be randomly generated. From that point I agree it's nature that Ulid::new() also generate new value every time.

I like the idea of Ulid::nil() as default as it can be used as placeholder value when needed.

dylanhart commented 5 years ago

Thank you! Merging