Fix unused doc warning in Rust 1.35 (#2863)
This version brings a new warning to inform that rustdoc doesn't add docs for macro expansions
This commit is contained in:
+3
-3
@@ -74,9 +74,9 @@ impl<H: Hashed> ShortIdentifiable for H {
|
||||
pub struct ShortId([u8; 6]);
|
||||
|
||||
impl DefaultHashable for ShortId {}
|
||||
/// We want to sort short_ids in a canonical and consistent manner so we can
|
||||
/// verify sort order in the same way we do for full inputs|outputs|kernels
|
||||
/// themselves.
|
||||
// We want to sort short_ids in a canonical and consistent manner so we can
|
||||
// verify sort order in the same way we do for full inputs|outputs|kernels
|
||||
// themselves.
|
||||
hashable_ord!(ShortId);
|
||||
|
||||
impl ::std::fmt::Debug for ShortId {
|
||||
|
||||
@@ -35,7 +35,7 @@ use std::cmp::{max, min};
|
||||
use std::sync::Arc;
|
||||
use std::{error, fmt};
|
||||
|
||||
/// Enum of various supported kernel "features".
|
||||
// Enum of various supported kernel "features".
|
||||
enum_from_primitive! {
|
||||
/// Various flavors of tx kernel.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
|
||||
@@ -1214,7 +1214,7 @@ impl Input {
|
||||
}
|
||||
}
|
||||
|
||||
/// Enum of various supported kernel "features".
|
||||
// Enum of various supported kernel "features".
|
||||
enum_from_primitive! {
|
||||
/// Various flavors of tx kernel.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user