Skip to content

Commit

Permalink
Update 2024-01-25-lesson0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stream-rahul committed Jan 26, 2025
1 parent fb39130 commit 7117a74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions _posts/2024-01-25-lesson0.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ permalink: /lesson0/
2. **File Operations**:
- Uses the `std::fs::File` struct
- File operations return `Result` types
- Automatic resource cleanup via RAII

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

4. **Error Handling**:
- Pattern matching with `match`
Expand Down

0 comments on commit 7117a74

Please sign in to comment.