Formatting

This commit is contained in:
LukeMathWalker 2021-01-11 08:32:55 +00:00
parent 72725c5306
commit 11f2f7d4db
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()
}
}
}