Skip to content

Commit 7117a74

Browse files
committed
Update 2024-01-25-lesson0.md
1 parent fb39130 commit 7117a74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

_posts/2024-01-25-lesson0.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ permalink: /lesson0/
2626
2. **File Operations**:
2727
- Uses the `std::fs::File` struct
2828
- File operations return `Result` types
29-
- Automatic resource cleanup via RAII
3029

3130
3. **Ownership Model**:
3231
- Each value has a single owner
33-
- Owner is responsible for cleanup
34-
- Ensures memory safety without garbage collection
3532

3633
4. **Error Handling**:
3734
- Pattern matching with `match`

0 commit comments

Comments
 (0)