Tweak explanation of "result" feature

This commit is contained in:
David Tolnay
2025-09-13 09:30:33 -07:00
parent 51f8b0c52d
commit c1b2f43917
2 changed files with 4 additions and 6 deletions
+2 -3
View File
@@ -71,7 +71,6 @@ alloc = ["serde_core/alloc"]
# Be sure that this is what you want before enabling this feature.
rc = ["serde_core/rc"]
# Provide impls for Result<T, E>. Enabling these impls allows for serialization
# and deserialization of Result types, which may be useful in certain contexts
# but could lead to confusion if ? or unwrap are overused.
# Provide impls for Result<T, E>. Convenient in some contexts but can lead to
# confusion if ? or unwrap are used incautiously.
result = ["serde_core/result"]
+2 -3
View File
@@ -55,7 +55,6 @@ alloc = []
# Be sure that this is what you want before enabling this feature.
rc = []
# Provide impls for Result<T, E>. Enabling these impls allows for serialization
# and deserialization of Result types, which may be useful in certain contexts
# but could lead to confusion if ? or unwrap are overused.
# Provide impls for Result<T, E>. Convenient in some contexts but can lead to
# confusion if ? or unwrap are used incautiously.
result = []