From 839ae6b2e4339440c378a9a7f0dff301f27e24da Mon Sep 17 00:00:00 2001 From: Larpon Date: Sat, 22 Jan 2022 09:27:16 +0100 Subject: [PATCH] toml: fix a doc string (#13246) --- vlib/toml/toml.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/toml/toml.v b/vlib/toml/toml.v index 8fc0c619e6..5259c2f149 100644 --- a/vlib/toml/toml.v +++ b/vlib/toml/toml.v @@ -20,7 +20,7 @@ pub fn decode(toml_txt string) ?T { return typ } -// encode encodes the type `T` into a JSON string. +// encode encodes the type `T` into a TOML string. // Currently encode expects the method `.to_toml()` exists on `T`. pub fn encode(typ T) string { return typ.to_toml()