docs: drop the TOML 1.0 compatibility promise

Assisted-by: DeepSeek V4.1 Flash
This commit is contained in:
2026-09-19 02:24:24 +02:00
parent 1c7329aeea
commit 8f0eae6604
6 changed files with 16 additions and 12 deletions
+1 -2
View File
@@ -198,8 +198,7 @@ type Unmarshaler interface {
UnmarshalTOML(data any) error
}
// Marshal returns the TOML encoding of v. The output stays within TOML 1.0,
// so it is valid under both TOML 1.0 and 1.1.
// Marshal returns the TOML encoding of v. The output is valid TOML 1.1.
//
// Marshal traverses v using reflection and applies the following rules:
//