aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-02-10 22:08:16 -0500
committerGitHub <noreply@github.com>2021-02-10 22:08:16 -0500
commitd50aa3577b30b67691e0ec60c3219821b88de641 (patch)
tree12689112051ceffb97934fe0ffda6056325ab86c /exercises
parent7310242ef0d72936ecbfb19014ada896f1b57f2a (diff)
parent043ecb16243b3ebff70a35f9cdea329c858f477e (diff)
downloadziglings-d50aa3577b30b67691e0ec60c3219821b88de641.tar.gz
ziglings-d50aa3577b30b67691e0ec60c3219821b88de641.tar.bz2
ziglings-d50aa3577b30b67691e0ec60c3219821b88de641.tar.xz
ziglings-d50aa3577b30b67691e0ec60c3219821b88de641.zip
Merge pull request #3 from Joefish/06_print_specifier
Added string specifier in Ex 06
Diffstat (limited to 'exercises')
-rw-r--r--exercises/06_strings.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/06_strings.zig b/exercises/06_strings.zig
index 2430884..d469166 100644
--- a/exercises/06_strings.zig
+++ b/exercises/06_strings.zig
@@ -33,7 +33,7 @@ pub fn main() void {
const major_tom = major ??? tom;
// That's all the problems. Let's see our results:
- std.debug.print("d={u} {}{}\n",.{d, laugh, major_tom});
+ std.debug.print("d={u} {s}{s}\n",.{d, laugh, major_tom});
//
// Keen eyes will notice that we've put a 'u' inside the '{}'
// placeholder in the format string above. This tells the