From de12cbcb32a53a06e1f73e7d9cdfa11e41d79ded Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Wed, 23 Oct 2019 08:58:25 -0500 Subject: [PATCH] Fix documentation --- src/helpers.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helpers.rs b/src/helpers.rs index 79efd95eb6d7..0245540debbe 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -414,8 +414,7 @@ fn read_os_string_from_c_string(&mut self, scalar: Scalar) -> InterpResult< /// Helper function to write an OsStr as a null-terminated sequence of bytes, which is what /// the Unix APIs usually handle. This function returns `Ok(false)` without trying to write if /// `size` is not large enough to fit the contents of `os_string` plus a null terminator. It - /// returns `Ok(true)` if the writing process was successful. Otherwise it returns an - /// `InterpError`. + /// returns `Ok(true)` if the writing process was successful. fn write_os_str_to_c_string( &mut self, os_str: &OsStr,