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()