Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
This commit is contained in:
wangcong 2021-01-28 17:46:20 +08:00 committed by GitHub
parent 19bfbf60fb
commit 3b6c3f9c0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ fn type_error_message(arg_name: &str, type_name: &str) -> String {
fn non_null_error_message(arg_name: &str, type_name: &str) -> String {
format!(
"Argument \"{}\" has type \"{}\" and is not nullable, so it't can't have a default value",
"Argument \"{}\" has type \"{}\" and is not nullable, so it can't have a default value",
arg_name, type_name
)
}