Sign in
android
/
platform
/
external
/
rust
/
crates
/
same-file
/
164e0ee4fe5c06d7d7ccbb215ab4f546ade168ad
/
.
/
examples
/
is_same_file.rs
blob: 6ba948a4c873c5915c56248ff8e5774b52e5c7f0 [
file
] [
log
] [
blame
]
use
same_file
::
is_same_file
;
use
std
::
io
;
fn
try_main
()
->
Result
<(),
io
::
Error
>
{
assert
!(
is_same_file
(
"/bin/sh"
,
"/usr/bin/sh"
)?);
Ok
(())
}
fn
main
()
{
try_main
().
unwrap
();
}