From 06f4f911c65fe202a2b0a4ff6c695eef1d6ba14f Mon Sep 17 00:00:00 2001 From: GabrielPavaloiu <gabriel.pavaloiu@upb.ro> Date: Tue, 18 Mar 2025 10:25:15 +0000 Subject: [PATCH] Random fixes & typos --- website/lab/00.md | 6 +++--- website/versioned_docs/version-acs_cc/welcome/index.md | 2 +- website/versioned_docs/version-fils_en/welcome/index.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/lab/00.md b/website/lab/00.md index 749394d..dab83f1 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 aecef32..4a618bc 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 eb9d2ae..d34dd10 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> -- GitLab