move uuid::ns consts to uuid::Uuid as associated consts #279

Closed
opened 2018-07-09 20:23:22 -05:00 by kinggoesgaming · 1 comment
kinggoesgaming commented 2018-07-09 20:23:22 -05:00 (Migrated from github.com)

Title says all. This should help in just using

extern crate uuid;

fn main() {
    let _ = uuid::Uuid::NAMESPACE_URL;
}

instead of

extern crate uuid;

use uuid::ns;

fn main() {
    let _ = ns::NAMESPACE_URL;
}
Title says all. This should help in just using ```rust extern crate uuid; fn main() { let _ = uuid::Uuid::NAMESPACE_URL; } ``` instead of ```rust extern crate uuid; use uuid::ns; fn main() { let _ = ns::NAMESPACE_URL; } ```
kinggoesgaming commented 2018-07-24 15:18:55 -05:00 (Migrated from github.com)

#285, closing

#285, closing
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-uuid-rs/uuid#279
No description provided.