From 12b99d2315cd649392c1abfa2e57019b8448dd7d Mon Sep 17 00:00:00 2001 From: mikysett Date: Mon, 17 Oct 2022 13:11:38 +0100 Subject: [PATCH] fix(error_types): update console output example) --- subjects/error_types/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subjects/error_types/README.md b/subjects/error_types/README.md index 4064675ea..cb97e0b36 100644 --- a/subjects/error_types/README.md +++ b/subjects/error_types/README.md @@ -109,12 +109,12 @@ And its output: ```console $ cargo run -Form { first_name: "Lee", last_name: "Silva", birth: 2015-09-05, fav_colour: Red, birth_location: "Africa", password: "qwqwsa1dty_" } +Form { first_name: "Lee", last_name: "Silva", birth: 2015-09-05, birth_location: "Africa", password: "qwqwsa1dty_" } ["Valid first name", "Valid password"] -FormError { form_values: ("first_name", ""), date: "2022-04-21 09:18:12", err: "No user name" } -FormError { form_values: ("password", "dty_1"), date: "2022-04-21 09:18:12", err: "At least 8 characters" } -FormError { form_values: ("password", "asdasASd(_"), date: "2022-04-21 09:18:12", err: "Combination of different ASCII character types (numbers, letters and none alphanumeric characters)" } -FormError { form_values: ("password", "asdasASd123SA"), date: "2022-04-21 09:18:12", err: "Combination of different ASCII character types (numbers, letters and none alphanumeric characters)" } +FormError { form_values: ("first_name", ""), date: "2022-10-17 12:09:25", err: "No user name" } +FormError { form_values: ("password", "dty_1"), date: "2022-10-17 12:09:25", err: "At least 8 characters" } +FormError { form_values: ("password", "asdasASd(_"), date: "2022-10-17 12:09:25", err: "Combination of different ASCII character types (numbers, letters and none alphanumeric characters)" } +FormError { form_values: ("password", "asdasASd123SA"), date: "2022-10-17 12:09:25", err: "Combination of different ASCII character types (numbers, letters and none alphanumeric characters)" } $ ```