Commit b1666494 authored by jakeburden's avatar jakeburden

task 1: files and errors

parent 2171a2f0
This file contains a title and list of URLs and empty lines
\ No newline at end of file
use std::fs::File;
fn main() {
println!("Hello, world!");
let f = File::open("src/data/content.txt");
match f {
Ok(_file) => println!("File opened!"),
Err(e) => println!("Error: {}", e),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment