From e24315eed892aeb6c53da78c415455a80ccdf5e5 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 15 Apr 2023 16:16:16 +0100 Subject: Improve grammar --- src/check_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_decl.cpp') diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 5a8080f96..a984f87a3 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -135,7 +135,7 @@ gb_internal void check_init_variables(CheckerContext *ctx, Entity **lhs, isize l if (o->type && is_type_no_copy(o->type)) { begin_error_block(); if (check_no_copy_assignment(*o, str_lit("initialization"))) { - error_line("\tInitialization of a #no_copy type must be either implicitly zero, a constant literal, or from a return value a call expression"); + error_line("\tInitialization of a #no_copy type must be either implicitly zero, a constant literal, or a return value from a call expression"); } end_error_block(); } -- cgit v1.2.3