E.g., the document of TcpStream contains 2 "fn read_exact(&mut self, buf: &mut [u8]) -> Result<()>".
These two functions are placed in different blocks, namely, impl Read for TcpStream
and impl Read for &TcpStream
.
2 Likes
Here's a fun one. It would be nice if you could hover self
[1] and the like to see what the implementation was for.
-
or generic
impl
parameters, etc âŠī¸
1 Like
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.