Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 295 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 295 Bytes

read-file

A simple Rust program to read a file.

Instructions

Build and run the program:

cargo run README.md

Altogether, it will look something like the following.

❯ cargo run README.md
  ... omitted ...
Counting lines in file README.md
Number of lines: 18