Replace redundant type name with Self

This commit is contained in:
Johannes Altmanninger
2025-04-18 20:37:52 +02:00
parent 489d5d1733
commit 6f65661109

View File

@@ -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),
}
}