You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add implementations of Read for &Reader, etc., following File in std. This is not straightforward because the std trait functions require &mut self, so we either need to keep references to the sys impls (which take &self), if that is possible, or use a RefCell (though I think that would not support simultaneous reads) or some other hack.
Stdio impls and Read for strings should be much easier.
The text was updated successfully, but these errors were encountered:
Add implementations of
Read
for&Reader
, etc., followingFile
in std. This is not straightforward because the std trait functions require&mut self
, so we either need to keep references to the sys impls (which take&self
), if that is possible, or use a RefCell (though I think that would not support simultaneous reads) or some other hack.Stdio impls and Read for strings should be much easier.
The text was updated successfully, but these errors were encountered: