Skip to content

Commit 1e7214b

Browse files
committed
Fix clippy lint
1 parent 3a45d67 commit 1e7214b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wayland-server/src/global.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ mod tests {
162162
GlobalDispatch, New,
163163
};
164164

165+
#[allow(dead_code)]
165166
struct DelegateToMe;
166167

167168
impl<D> Dispatch<wl_output::WlOutput, (), D> for DelegateToMe
@@ -196,6 +197,7 @@ mod tests {
196197
}
197198
}
198199

200+
#[allow(dead_code)]
199201
struct ExampleApp {
200202
delegate: DelegateToMe,
201203
}
@@ -217,6 +219,7 @@ mod tests {
217219
GlobalDispatch, New,
218220
};
219221

222+
#[allow(dead_code)]
220223
struct DelegateToMe<A>(A);
221224

222225
impl<A, D> Dispatch<wl_output::WlOutput, (), D> for DelegateToMe<A>
@@ -253,6 +256,7 @@ mod tests {
253256
}
254257
}
255258

259+
#[allow(dead_code)]
256260
struct ExampleApp<A> {
257261
delegate: DelegateToMe<A>,
258262
}

0 commit comments

Comments
 (0)