Skip to content

Commit ad54700

Browse files
authored
Create using-nested-paths-in-rust.rs
1 parent 8cf5570 commit ad54700

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/using-nested-paths-in-rust.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Want to support my work 🤝? https://buymeacoffee.com/vandad
2+
3+
// 👇🏻 instead of this
4+
use std::io;
5+
use std::io::Result as IOResult;
6+
use std::io::Seek;
7+
8+
// 👇🏻 do this
9+
use std::io::{self, Result as IOResult, Seek};

0 commit comments

Comments
 (0)