mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 17:58:27 +03:00
mononoke: remove dead_code
Reviewed By: farnz Differential Revision: D16263583 fbshipit-source-id: 00a1d1cce271b3bb1e538ca9b3e101ff359dbc3b
This commit is contained in:
parent
6282f84a36
commit
2ea0f7e6d3
@ -7,8 +7,6 @@
|
||||
//! Base types used throughout Mononoke.
|
||||
|
||||
#![deny(warnings)]
|
||||
// The allow(dead_code) is temporary until Thrift serialization is done.
|
||||
#![allow(dead_code)]
|
||||
#![feature(const_fn)]
|
||||
|
||||
pub mod blob;
|
||||
|
@ -99,6 +99,7 @@ macro_rules! impl_typed_hash {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) fn from_byte_array(arr: [u8; 32]) -> Self {
|
||||
$typed(Blake2::from_byte_array(arr))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user