Skip to content

Commit

Permalink
Fix build for rust beta
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed May 26, 2022
1 parent 59948ec commit b8d99d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/date.rs
Expand Up @@ -524,8 +524,10 @@ where
}

#[cfg(test)]
#[cfg(feature = "clock")]
mod tests {
use crate::{Local, Weekday, Weeklike};
use crate::offset::Local;
use crate::{Weekday, Weeklike};

#[test]
fn test_week() {
Expand Down

0 comments on commit b8d99d7

Please sign in to comment.