Skip to content
Snippets Groups Projects
Commit 06f4f911 authored by GabrielPavaloiu's avatar GabrielPavaloiu Committed by Alexandru RADOVICI
Browse files

Random fixes & typos

parent 024746cd
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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 |
......
......@@ -56,7 +56,7 @@ teodor.dicu@wyliodrin.com
![Danut Aldea](images/danut_aldea.jpg)
Lab Professor \
Responsible for software
Responsible for software \
GitHub: [danutaldea](https://github.com/danutaldea) \
danut.aldea@oxidos.io
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment