summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8a566ddb..b92813ac 100644
--- a/README.md
+++ b/README.md
@@ -195,7 +195,7 @@ int main() {
printf("append: %s\n", s1.str);
cstr_destroy(&s1);
- CStr s2 = cstr_makeFmt("Index %d: %f", 123, 4.56);
+ CStr s2 = cstr_from("Index %d: %f", 123, 4.56);
cstr_destroy(&s2);
}
```