This website works better with JavaScript.
Explore
Help
Register
Sign In
rust
/
trpl-zh-cn
mirror of
https://github.com/KaiserY/trpl-zh-cn
Watch
5
Star
0
Fork
You've already forked trpl-zh-cn
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3f796dc6e9
gh-pages
main
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '3f796dc6e9'
${ noResults }
trpl-zh-cn
/
listings
/
ch09-error-handling
/
listing-09-10
/
src
/
main.rs
6 lines
84 B
Raw
Normal View
History
Unescape
Escape
add listings code && update to ch02-00
3 years ago
use
std
::
fs
::
File
;
fn
main
(
)
{
update to ch02-00 & update listings
2 years ago
let
greeting_file
=
File
::
open
(
"hello.txt"
)
?
;
add listings code && update to ch02-00
3 years ago
}