mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
Janitor: CSpell fixes
Mark up some special words in documents (like C++ lingo in rust files).
This commit is contained in:
parent
ac2d17e8e4
commit
ac207428dc
3 changed files with 6 additions and 1 deletions
|
@ -15,6 +15,9 @@ This crate should not be used directly by application using SixtyFPS.
|
||||||
You should use the `sixtyfps` crate instead.
|
You should use the `sixtyfps` crate instead.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// cSpell:ignore punct
|
||||||
|
|
||||||
#![doc(html_logo_url = "https://sixtyfps.io/resources/logo.drawio.svg")]
|
#![doc(html_logo_url = "https://sixtyfps.io/resources/logo.drawio.svg")]
|
||||||
|
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
|
|
|
@ -37,7 +37,7 @@ mod tests {
|
||||||
use crate as const_field_offset;
|
use crate as const_field_offset;
|
||||||
// ### Structures were change to repr(c) and to inherit FieldOffsets
|
// ### Structures were change to repr(c) and to inherit FieldOffsets
|
||||||
|
|
||||||
// Example structs
|
// Example structures
|
||||||
#[derive(Debug, FieldOffsets)]
|
#[derive(Debug, FieldOffsets)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
struct Foo {
|
struct Foo {
|
||||||
|
|
|
@ -10,6 +10,8 @@ LICENSE END */
|
||||||
/*! module for the C++ code generator
|
/*! module for the C++ code generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// cSpell:ignore cstdlib cmath constexpr nullptr decltype intptr uintptr
|
||||||
|
|
||||||
/// This module contains some data structure that helps represent a C++ code.
|
/// This module contains some data structure that helps represent a C++ code.
|
||||||
/// It is then rendered into an actual C++ text using the Display trait
|
/// It is then rendered into an actual C++ text using the Display trait
|
||||||
mod cpp_ast {
|
mod cpp_ast {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue