File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
cap-async-std/src/fs_utf8 Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -619,10 +619,7 @@ impl Dir {
619
619
///
620
620
/// This function accesses a directory outside of the `self` subtree.
621
621
#[ inline]
622
- pub async fn open_parent_dir < P : AsRef < Utf8Path > > (
623
- & self ,
624
- ambient_authority : AmbientAuthority ,
625
- ) -> io:: Result < Self > {
622
+ pub async fn open_parent_dir ( & self , ambient_authority : AmbientAuthority ) -> io:: Result < Self > {
626
623
self . cap_std
627
624
. open_parent_dir ( ambient_authority)
628
625
. await
Original file line number Diff line number Diff line change @@ -604,10 +604,7 @@ impl Dir {
604
604
///
605
605
/// This function accesses a directory outside of the `self` subtree.
606
606
#[ inline]
607
- pub fn open_parent_dir < P : AsRef < Utf8Path > > (
608
- & self ,
609
- ambient_authority : AmbientAuthority ,
610
- ) -> io:: Result < Self > {
607
+ pub fn open_parent_dir ( & self , ambient_authority : AmbientAuthority ) -> io:: Result < Self > {
611
608
self . cap_std
612
609
. open_parent_dir ( ambient_authority)
613
610
. map ( Self :: from_cap_std)
You can’t perform that action at this time.
0 commit comments