Orchard: remove unused imports, more warn(missing_docs) lint to orchard for now
This commit is contained in:
parent
5ede33b231
commit
1ff8874b8d
|
@ -16,7 +16,6 @@
|
|||
#![allow(unknown_lints)]
|
||||
// Disable old lint warnings on nightly until 1.51 is stable
|
||||
#![allow(renamed_and_removed_lints)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde;
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
//! Orchard-related functionality.
|
||||
|
||||
#![warn(missing_docs)]
|
||||
|
||||
mod action;
|
||||
mod address;
|
||||
#[cfg(any(test, feature = "proptest-impl"))]
|
||||
mod arbitrary;
|
||||
mod commitment;
|
||||
pub mod keys;
|
||||
mod note;
|
||||
mod sinsemilla;
|
||||
|
||||
pub mod keys;
|
||||
pub mod tree;
|
||||
|
||||
pub use action::Action;
|
||||
|
|
|
@ -5,6 +5,8 @@ mod address;
|
|||
mod arbitrary;
|
||||
mod commitment;
|
||||
mod note;
|
||||
mod output;
|
||||
mod spend;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ mod test_vectors;
|
|||
mod tests;
|
||||
|
||||
use std::{
|
||||
convert::{From, Into, TryFrom, TryInto},
|
||||
convert::{From, Into, TryFrom},
|
||||
fmt,
|
||||
io::{self, Write},
|
||||
str::FromStr,
|
||||
|
|
Loading…
Reference in New Issue