mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
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:
parent
4b12ed03cf
commit
13d7f5e7bd
96 changed files with 290 additions and 288 deletions
|
@ -168,7 +168,7 @@ impl FontMetrics for TestingFontMetrics {
|
|||
}
|
||||
|
||||
/// Initialize the testing backend.
|
||||
/// Must be called before any call that would otherwise initialize the rendring backend.
|
||||
/// Must be called before any call that would otherwise initialize the rendering backend.
|
||||
/// Calling it when the rendering backend is already initialized will have no effects
|
||||
pub fn init() {
|
||||
sixtyfps_corelib::backend::instance_or_init(|| Box::new(TestingBackend::default()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue