rust/tests/rustdoc/intra-doc/crate-relative-assoc.rs
2024-06-24 11:08:41 +02:00

18 lines
344 B
Rust

pub mod io {
pub trait Read {
fn read(&mut self);
}
}
pub mod bufreader {
//@ has crate_relative_assoc/bufreader/index.html '//a/@href' 'struct.TcpStream.html#method.read'
//! [`crate::TcpStream::read`]
use crate::io::Read;
}
pub struct TcpStream;
impl crate::io::Read for TcpStream {
fn read(&mut self) {}
}