From 4dedc2d8ce0f7dbf4059978c8100b9f54298e88e Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 27 Mar 2021 21:11:34 +0300 Subject: [PATCH] Fix a comment typo --- deltachat-ffi/src/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ffi/src/string.rs b/deltachat-ffi/src/string.rs index 7446e419f..20d3a4423 100644 --- a/deltachat-ffi/src/string.rs +++ b/deltachat-ffi/src/string.rs @@ -241,7 +241,7 @@ pub(crate) fn to_opt_string_lossy(s: *const libc::c_char) -> Option { /// [OsStrExt::to_c_string] requires valid Unicode on Windows, this /// requires that the pointer contains valid UTF-8 on Windows. /// -/// Because this returns a reference the [Path] silce can not outlive +/// Because this returns a reference the [Path] slice can not outlive /// the original pointer. /// /// [Path]: std::path::Path