janitor: cspell fixes

This commit is contained in:
Tobias Hunger 2022-04-13 11:36:52 +02:00 committed by Tobias Hunger
parent 2c82fd7618
commit df9f86ba4a
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,8 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// cSpell: ignore deinit fnbox qsize
#![doc = include_str!("README.md")]
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
#![recursion_limit = "1024"]

View file

@ -1,6 +1,8 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// cSpell: ignore hframe qreal tabbar vframe
use i_slint_core::input::FocusEventResult;
use super::*;

View file

@ -91,7 +91,7 @@ pub enum Expression {
level: usize,
value: Box<Expression>,
},
/// An assignement done with the `foo[idx] = ...`
/// An assignment done with the `foo[idx] = ...`
ArrayIndexAssignment {
array: Box<Expression>,
index: Box<Expression>,
@ -464,7 +464,7 @@ impl<'a, T> TypeResolutionContext for EvaluationContext<'a, T> {
}
PropertyReference::InNativeItem { sub_component_path, item_index, prop_name } => {
if prop_name == "elements" {
// The `Path::elements` property is not in the NativeClasss
// The `Path::elements` property is not in the NativeClass
return &Type::PathData;
}