Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion asura/src/detail/teletype_manager_ex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct TerminalProxy {
}

impl TerminalProxy {
pub fn read_lock(&self) -> TerminalAccessor {
pub fn read_lock(&self) -> TerminalAccessor<'_> {
TerminalAccessor {
internal: self.internal.lock(),
}
Expand Down
4 changes: 2 additions & 2 deletions asura/src/multiplexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl ShellController {
self.shell_receiver.try_recv_event()
}

pub fn read_contents(&self) -> TerminalAccessor {
pub fn read_contents(&self) -> TerminalAccessor<'_> {
self.shell_receiver.read_contents()
}

Expand Down Expand Up @@ -117,7 +117,7 @@ impl ShellReceiver {
}
}

pub fn read_contents(&self) -> TerminalAccessor {
pub fn read_contents(&self) -> TerminalAccessor<'_> {
self.proxy.read_lock()
}
}
Expand Down