Skip to content

Commit b161e91

Browse files
committed
fix: Allow unused variables when not in tracing feature
1 parent 0788474 commit b161e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/templates/rootMod.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pub mod instructions_parser;
1212
pub mod proto_helpers;
1313
{% endif %}
1414

15+
#[cfg_attr(not(feature = "tracing"), allow(unused_variables))]
1516
/// Deserialize a Borsh-encoded account, checking that all significant bytes are read.
1617
pub fn deserialize_checked<T: borsh::BorshDeserialize>(
1718
data: &[u8],

0 commit comments

Comments
 (0)