Skip to content

Commit 313a6f3

Browse files
authored
chore(app/core): remove dead_code allowance for Stack<S> (#4113)
this `impl` block is ~350 lines, and contains the majority of our `linkerd_app_core::svc::Stack<S>` interfaces. this does not need to be marked with this `dead_code` allowance, because these are public interfaces. this commit removes this attribute. if future additions include unused code, we can more narrowly affix this attribute to particular functions. Signed-off-by: katelyn martin <[email protected]>
1 parent 4cf845f commit 313a6f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

linkerd/app/core/src/svc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ impl<M, L: Layer<M>> Layer<M> for Layers<L> {
124124

125125
// === impl Stack ===
126126

127-
#[allow(dead_code)]
128127
impl<S> Stack<S> {
129128
pub fn push<L: Layer<S>>(self, layer: L) -> Stack<L::Service> {
130129
Stack(layer.layer(self.0))

0 commit comments

Comments
 (0)