From bab977c0ea521764ac61bddc9a1fb1d969218e83 Mon Sep 17 00:00:00 2001 From: mcb2003 Date: Thu, 31 Dec 2020 15:31:46 +0000 Subject: [PATCH] FFI:: Fix spelling error in doc comments. --- src/ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ffi.rs b/src/ffi.rs index 6f14190..a8dd212 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -41,7 +41,7 @@ pub extern "C" fn tts_clear_error() { } /// Create a new `TTS` instance with the specified backend. -/// If an error occures, returns a null pointer, +/// If an error occurs, returns a null pointer, /// Call `tts_get_error()` for more information about the specific error. #[no_mangle] pub extern "C" fn tts_new(backend: Backends) -> *mut TTS { @@ -55,7 +55,7 @@ pub extern "C" fn tts_new(backend: Backends) -> *mut TTS { } /// Create a new TTS object with the default backend. -/// If an error occures, returns a null pointer, +/// If an error occurs, returns a null pointer, /// Call `tts_get_error()` for more information about the specific error. #[no_mangle] pub extern "C" fn tts_default() -> *mut TTS {