We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca7e76 commit 56cdb7fCopy full SHA for 56cdb7f
src/test/mod.rs
@@ -120,19 +120,15 @@ impl Write for Recorder {
120
}
121
122
123
-pub(crate) struct TestStream(
124
- Box<dyn Read + Send + Sync>,
125
- Box<dyn Write + Send + Sync>,
126
- bool,
127
-);
+pub(crate) struct TestStream(Box<dyn Read + Send + Sync>, Box<dyn Write + Send + Sync>);
128
129
impl TestStream {
130
#[cfg(test)]
131
pub(crate) fn new(
132
response: impl Read + Send + Sync + 'static,
133
recorder: impl Write + Send + Sync + 'static,
134
) -> Self {
135
- Self(Box::new(response), Box::new(recorder), false)
+ Self(Box::new(response), Box::new(recorder))
136
137
138
0 commit comments