We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53660cd commit 3808835Copy full SHA for 3808835
crates/prettytty/src/conn.rs
@@ -311,11 +311,6 @@ pub struct Input<'a> {
311
}
312
313
impl<'a> Input<'a> {
314
- /// Extract inner scanner.
315
- pub(crate) fn into_inner(self) -> MutexGuard<'a, Scanner<Box<dyn Read + Send>>> {
316
- self.scanner
317
- }
318
-
319
/// Determine whether the input has bytes buffered.
320
#[must_use = "the only reason to invoke method is to access the returned value"]
321
pub fn is_readable(&self) -> bool {
crates/prettytty/src/sys/windows.rs
@@ -244,7 +244,7 @@ impl RawConfig {
244
};
245
246
247
- match group {
+ match *group {
248
ModeGroup::Input => {
249
for (label, mask) in [
250
("ENABLE_ECHO_INPUT", Console::ENABLE_ECHO_INPUT),
0 commit comments