Skip to content
Snippets Groups Projects
Commit 8d1cba05 authored by Fabio Vandewaeter's avatar Fabio Vandewaeter
Browse files

début tp2

parent 0f366849
No related branches found
No related tags found
No related merge requests found
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "tp2"
version = "0.1.0"
[package]
name = "tp2"
version = "0.1.0"
edition = "2024"
[dependencies]
# COA-VANDEWAETER
Dépôt : https://gitlab.univ-lille.fr/fabio.vandewaeter.etu/coa-vandewaeter
# TP2
src : https://moodle.univ-lille.fr/pluginfile.php/4467521/mod_resource/content/1/tp-02.html
```bash
cargo run
```
# 1. Ownership, borrowing
## 1.1. Problem 1
## 1.2. Problem 2
## 1.3. Problem 3
## 1.4. Problem 4
## 1.5. Problem 5
# 2. Lifetimes annotation
## 2.1. Elided lifetimes
### 2.1.1. Elided 1
### 2.1.2. Elided 2
### 2.1.3. Elided 3
## 2.2. Explicit lifetimes annotation needed
### 2.2.1. Explicit 1
### 2.2.2. Explicit 2
### 2.2.3. Explicit 3
## 2.3. Lifetimes on types
### 2.3.1. Types 1
### 2.3.2. Types 2
# 3. Long exercise : a mini web server
## 3.1. Description of work
## 3.2. Hints and references
fn main() {
println!("Hello, world!");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment