Skip to content

Commit

Permalink
Merge #133: Feature gate import
Browse files Browse the repository at this point in the history
64657da Feature gate import (Tobin C. Harding)

Pull request description:

  `Table` is only used if `test` or `std` - feature gate it.

  Fix: #130

ACKs for top commit:
  apoelstra:
    ACK 64657da; successfully ran local tests; lgtm

Tree-SHA512: 2adfde18086664645863cafdc7ba6336888a291d8266593c9e7646f25f5a29850b77682be68367b302f8fedbf2c28db9823e82c4a02acb90dcab52c8f4f22165
  • Loading branch information
apoelstra committed Dec 30, 2024
2 parents 4c3901d + 64657da commit 8559f79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ use alloc::string::String;
use core::borrow::Borrow;
use core::fmt;

use super::{Case, Table};
use super::Case;
#[cfg(any(test, feature = "std"))]
use super::Table;
use crate::buf_encoder::BufEncoder;

/// Extension trait for types that can be displayed as hex.
Expand Down

0 comments on commit 8559f79

Please sign in to comment.