Janitor: Fix typos in comments and user-facing strings

Also adapt tests for error messages containing the fixed strings.

No behavior change is intended!
This commit is contained in:
Tobias Hunger 2021-06-27 16:29:02 +02:00 committed by Olivier Goffart
parent 4b12ed03cf
commit 13d7f5e7bd
96 changed files with 290 additions and 288 deletions

View file

@ -7,7 +7,7 @@
This file is also available under commercial licensing terms.
Please contact info@sixtyfps.io for more information.
LICENSE END */
/*! This scrates just expose the function used by the C++ integration */
/*! This crate just expose the function used by the C++ integration */
use core::ffi::c_void;
use sixtyfps_corelib::window::ffi::ComponentWindowOpaque;
@ -38,7 +38,7 @@ pub unsafe extern "C" fn sixtyfps_run_event_loop() {
.run_event_loop(sixtyfps_corelib::backend::EventLoopQuitBehavior::QuitOnLastWindowClosed);
}
/// Will execute the fiven functor in the main thread
/// Will execute the given functor in the main thread
#[no_mangle]
pub unsafe extern "C" fn sixtyfps_post_event(
event: extern "C" fn(user_data: *mut c_void),