Janitor: CSpell fixes

Mark up some special words in documents (like C++ lingo in rust files).
This commit is contained in:
Tobias Hunger 2021-07-06 20:45:43 +02:00 committed by Simon Hausmann
parent ac2d17e8e4
commit ac207428dc
3 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -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 {

View file

@ -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 {