Skip to content

Latest commit

 

History

History

read-file

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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