Skip to content

Commit 2cfcbed

Browse files
authored
Merge pull request #11 from Cythan-Project/ccgauche-patch-errors
Updated Errors.rs of the fn proposition
2 parents 19bf95e + 839ca84 commit 2cfcbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Errors {
109109
out.push_str(" - Verify that the function is created before used.\r\n");
110110
out.push_str(" - Check for similar names.\r\n");
111111
out.push_str(" - Create the function using:\r\n");
112-
out.push_str(&format!(" fn {} {{\r\n", function_name));
112+
out.push_str(&format!(" {} {{\r\n", function_name));
113113
out.push_str(" <code>\r\n");
114114
out.push_str(" }");
115115
}

0 commit comments

Comments
 (0)