About
Contact
QtCreator
KDevelop
Solarized
1
use
same_file
::
is_same_file
;
2
use
std
::
io
;
3
4
fn
try_main
() ->
Result
<(),
io
::
Error
> {
5
assert
!(is_same_file(
"/bin/sh"
,
"/usr/bin/sh"
)?);
6
Ok
(())
7
}
8
9
fn
main
() {
10
try_main
().
unwrap
();
11
}
12