Run cargo fmt.

This commit is contained in:
LukeMathWalker 2021-04-02 11:49:16 +01:00
parent 0a11700f27
commit 3426bc3f8e
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
use crate::domain::subscriber_name::SubscriberName;
use crate::domain::subscriber_email::SubscriberEmail;
use crate::domain::subscriber_name::SubscriberName;
pub struct NewSubscriber {
// We are not using `String` anymore!

View file

@ -23,8 +23,8 @@ impl AsRef<str> for SubscriberEmail {
mod tests {
use super::SubscriberEmail;
use claim::assert_err;
use fake::Fake;
use fake::faker::internet::en::SafeEmail;
use fake::Fake;
#[test]
fn empty_string_is_rejected() {
@ -58,4 +58,4 @@ mod tests {
fn valid_emails_are_parsed_successfully(valid_email: ValidEmailFixture) -> bool {
SubscriberEmail::parse(valid_email.0).is_ok()
}
}
}