mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
Replace redundant type name with Self
This commit is contained in:
@@ -1798,8 +1798,8 @@ pub struct InputEventQueue {
|
||||
}
|
||||
|
||||
impl InputEventQueue {
|
||||
pub fn new(in_fd: RawFd) -> InputEventQueue {
|
||||
InputEventQueue {
|
||||
pub fn new(in_fd: RawFd) -> Self {
|
||||
Self {
|
||||
data: InputData::new(in_fd),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user