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 25, 2025
1 parent 6c14d56 commit 03522e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2024-01-25-lesson0.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::env; // (1) Imports `env` module. Compiler resolves this
// to `std` library. No runtime cost directly.
use std::fs::File; // (2) Imports `File` struct. Compile-time symbol
// resolution. `File` is an abstraction over OS
// file descriptors. System calls are the backend.
// file descriptors. System calls at the backend.
use std::io::{self, Read, Write}; // (3) Imports `io` module and traits. `self` brings
// module in scope. `Read`, `Write` traits are
// interfaces. Enables polymorphism via traits.
Expand Down

0 comments on commit 03522e3

Please sign in to comment.