diff --git a/website/lab/00.md b/website/lab/00.md index 749394da568f3267bedb180eb72cfedb72e5847f..dab83f1a64b19e963b873d566edec3f4968e5f6e 100644 --- a/website/lab/00.md +++ b/website/lab/00.md @@ -72,7 +72,7 @@ fn main() { let age = 26; println!("Hello, {}. You are {} years old", name, age); - // if the replacements are only variable, one can use the inline version + // if the replacements are only variables, one can use the inline version println!("Hello, {name}. You are {age} years old"); } ``` @@ -155,7 +155,7 @@ let y: u16 = 25; | 32-bit | `i32` | `u32` | `int` / `Integer`[^java_unsigned] | `int` / `unsigned int` | | 64-bit | `i64` | `u64` | `long` / `Long`[^java_unsigned] | `long long` / `unsigned long long` | | 128-bit | `i128` | `u128` | N/A | N/A | -| arch | `isize` | `usize` | N/A | `int` / `unsigned int` | +| arch | `isize` | `usize` | N/A | `intptr_t` / `uintptr_t` | **Floating Point** â Rust's floating point types are `f32` and `f64`, which are 32-bit and 64-bit in size, respectively. The default type is `f64` because on modern CPUs it is about the same speed as `f32` but is capable of more precision. All floating point types are **signed**. @@ -341,7 +341,7 @@ To format the `Debug` nicely use `{:#?}`. ### Tuple structures -Tuples are the same construct as structures, just that instead of using names for their field, they use numbers (indexes). +Tuples are the same as structures, just that instead of using names for their fields, they use numbers (indexes). ```rust struct Color(i32, i32, i32); diff --git a/website/versioned_docs/version-acs_cc/welcome/index.md b/website/versioned_docs/version-acs_cc/welcome/index.md index aecef3280eabf39908c046e8d44889904ea29c63..4a618bcd8cea558dd3fd4f7a65c7729037687042 100644 --- a/website/versioned_docs/version-acs_cc/welcome/index.md +++ b/website/versioned_docs/version-acs_cc/welcome/index.md @@ -117,7 +117,7 @@ alexagungureanu@gmail.com | Part | Description | Points | |--------|-------------|--------| -| [Lecture](./category/lecture) tests | You will have a test every few classes with subjects from the previous class (will pe anounced). | 2p | +| [Lecture](./category/lecture) tests | You will have a test every few classes with subjects from the previous class (will be anounced). | 2p | | [Lab](./category/lab) | Your work at every lab will be graded. | 1p | | [Lab](./category/lab) | Final Lab Assigment (Final Lab Test) | 1p | | [Project](./project) | You will have to design and implement a hardware device. Grading will be done for the documentation, hardware design and software development. | 3p | diff --git a/website/versioned_docs/version-fils_en/welcome/index.md b/website/versioned_docs/version-fils_en/welcome/index.md index eb9d2ae9e359641f4011ebc09bd33fb19a21a5b1..d34dd107a5679317297534f31c28f4a88d567c98 100644 --- a/website/versioned_docs/version-fils_en/welcome/index.md +++ b/website/versioned_docs/version-fils_en/welcome/index.md @@ -56,7 +56,7 @@ teodor.dicu@wyliodrin.com  Lab Professor \ -Responsible for software +Responsible for software \ GitHub: [danutaldea](https://github.com/danutaldea) \ danut.aldea@oxidos.io </td>