Skip to content

Commit

Permalink
Merge pull request #1029 from imageworks/proto-dead-code
Browse files Browse the repository at this point in the history
Fix dead code warning depending on enabled features
  • Loading branch information
jrray authored May 18, 2024
2 parents 5b453f8 + acb4765 commit b9e9066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/spfs/src/proto/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
// https://github.com/imageworks/spk

// This trait causes dead code warnings when the server feature is not enabled.
#[allow(dead_code)]
pub(crate) trait RpcResult: Sized {
type Ok;
type Result;
Expand Down

0 comments on commit b9e9066

Please sign in to comment.