mirror of
https://github.com/apple/swift-nio
synced 2026-11-23 04:34:23 +00:00
### Motivation: The documentation for String(buffer:) initializer does not clearly indicate that this operation will always succeed, which may leave developers uncertain about error handling requirements. fixes: https://github.com/apple/swift-nio/issues/3449 ### Modifications: Updated the documentation for String(buffer:) to explicitly mention that the initialization will always succeed. ### Result: Developers will have clearer understanding that String(buffer:) is a safe operation that does not require error handling. Signed-off-by: Karan <karanlokchandani@protonmail.com>