Skip to content

Commit 09a1382

Browse files
authored
Merge pull request #425 from dearshuto/gemini-fix-422
fix: automated fix by Gemini
2 parents 3476027 + 37ab3db commit 09a1382

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

asura/src/detail/teletype_manager_ex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub struct TerminalProxy {
6161
}
6262

6363
impl TerminalProxy {
64-
pub fn read_lock(&self) -> TerminalAccessor {
64+
pub fn read_lock(&self) -> TerminalAccessor<'_> {
6565
TerminalAccessor {
6666
internal: self.internal.lock(),
6767
}

asura/src/multiplexer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl ShellController {
6161
self.shell_receiver.try_recv_event()
6262
}
6363

64-
pub fn read_contents(&self) -> TerminalAccessor {
64+
pub fn read_contents(&self) -> TerminalAccessor<'_> {
6565
self.shell_receiver.read_contents()
6666
}
6767

@@ -117,7 +117,7 @@ impl ShellReceiver {
117117
}
118118
}
119119

120-
pub fn read_contents(&self) -> TerminalAccessor {
120+
pub fn read_contents(&self) -> TerminalAccessor<'_> {
121121
self.proxy.read_lock()
122122
}
123123
}

0 commit comments

Comments
 (0)