Skip to content

Commit de12cbc

Browse files
committed
Fix documentation
1 parent fb4cb5b commit de12cbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/helpers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
414414
/// Helper function to write an OsStr as a null-terminated sequence of bytes, which is what
415415
/// the Unix APIs usually handle. This function returns `Ok(false)` without trying to write if
416416
/// `size` is not large enough to fit the contents of `os_string` plus a null terminator. It
417-
/// returns `Ok(true)` if the writing process was successful. Otherwise it returns an
418-
/// `InterpError`.
417+
/// returns `Ok(true)` if the writing process was successful.
419418
fn write_os_str_to_c_string(
420419
&mut self,
421420
os_str: &OsStr,

0 commit comments

Comments
 (0)