Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused constant, deny(dead_code) #361

Merged
merged 1 commit into from Nov 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -31,6 +31,7 @@ Versions with only mechanical changes will be omitted from the following list.
* Use markdown footnotes on the `strftime` docs page (@qudlibetor #359)
* Migrate from `try!` -> `?` (question mark) because it is now emitting
deprecation warnings and has been stable since rustc 1.13.0
* Deny dead code

## 0.4.9

Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Expand Up @@ -386,6 +386,7 @@
#![cfg_attr(feature = "bench", feature(test))] // lib stability features as per RFC #507
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(dead_code)]

#![cfg_attr(not(any(feature = "std", test)), no_std)]

Expand Down Expand Up @@ -465,8 +466,6 @@ macro_rules! try_opt {
($e:expr) => (match $e { Some(v) => v, None => return None })
}

const EPOCH_NUM_DAYS_FROM_CE: i32 = 719_163;

mod div;
#[cfg(not(feature="clock"))]
mod oldtime;
Expand Down