Skip to content

Commit 2e82b83

Browse files
committed
Rename AsBorrowed*, IntoOwned*, FromOwned* to As*, Into*, From*.
1 parent 79160e8 commit 2e82b83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/0000-io-safety.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ New types and traits could provide a much cleaner API, along the lines of:
374374
pub struct BorrowedFd<'owned> { ... }
375375
pub struct OwnedFd { ... }
376376

377-
pub trait AsBorrowedFd { ... }
378-
pub trait IntoOwnedFd { ... }
379-
pub trait FromOwnedFd { ... }
377+
pub trait AsFd { ... }
378+
pub trait IntoFd { ... }
379+
pub trait FromFd { ... }
380380
```
381381

382382
An initial prototype of this here:

0 commit comments

Comments
 (0)