Skip to content

Commit fdc2cc5

Browse files
committed
Change std:: to crate:: in implementation of Close for File
1 parent b5942f6 commit fdc2cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-close-trait.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl Close for File {
100100

101101
fn close(self) -> io::Result<()> {
102102
let result = self.inner.close();
103-
std::mem::forget(self);
103+
crate::mem::forget(self);
104104
result
105105
}
106106
}

0 commit comments

Comments
 (0)