Make functions that can be const, const #394

Merged
mehcode merged 1 commit from rl-const into master 2019-04-07 03:35:07 -05:00
mehcode commented 2019-04-06 23:55:16 -05:00 (Migrated from github.com)

I'm submitting a(n) feature|refactor

Description

Add const fn in a few more places than #389. Used clippy and its nursery lint to detect them.

Motivation

More const fn the better.

Tests

Current tests should pass. No new tests added

Related Issue(s)

**I'm submitting a(n)** feature|refactor # Description Add `const fn` in a few more places than #389. Used `clippy` and its nursery lint to detect them. # Motivation More `const fn` the better. # Tests Current tests should pass. No new tests added # Related Issue(s)
KodrAus (Migrated from github.com) reviewed 2019-04-06 23:55:16 -05:00
Dylan-DPC-zz (Migrated from github.com) reviewed 2019-04-06 23:55:16 -05:00
kinggoesgaming commented 2019-04-07 03:15:53 -05:00 (Migrated from github.com)

hmm I thought I missed stuff when I did that PR.. Thanks @mehcode

hmm I thought I missed stuff when I did that PR.. Thanks @mehcode
kinggoesgaming (Migrated from github.com) approved these changes 2019-04-07 03:17:10 -05:00
kinggoesgaming commented 2019-04-07 03:17:20 -05:00 (Migrated from github.com)

bors r+

bors r+
bors[bot] commented 2019-04-07 03:35:06 -05:00 (Migrated from github.com)
# Build succeeded * [continuous-integration/appveyor/branch](https://ci.appveyor.com/project/KodrAus/uuid/builds/23655723) * [continuous-integration/travis-ci/push](https://travis-ci.org/uuid-rs/uuid/builds/516786383?utm_source=github_status&utm_medium=notification)
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!394
No description provided.