Orchard: remove unused imports, more warn(missing_docs) lint to orchard for now

This commit is contained in:
Deirdre Connolly 2021-03-16 19:27:38 -04:00 committed by Deirdre Connolly
parent 5ede33b231
commit 1ff8874b8d
4 changed files with 7 additions and 3 deletions

View File

@ -16,7 +16,6 @@
#![allow(unknown_lints)] #![allow(unknown_lints)]
// Disable old lint warnings on nightly until 1.51 is stable // Disable old lint warnings on nightly until 1.51 is stable
#![allow(renamed_and_removed_lints)] #![allow(renamed_and_removed_lints)]
#![warn(missing_docs)]
#[macro_use] #[macro_use]
extern crate serde; extern crate serde;

View File

@ -1,13 +1,16 @@
//! Orchard-related functionality. //! Orchard-related functionality.
#![warn(missing_docs)]
mod action; mod action;
mod address; mod address;
#[cfg(any(test, feature = "proptest-impl"))] #[cfg(any(test, feature = "proptest-impl"))]
mod arbitrary; mod arbitrary;
mod commitment; mod commitment;
pub mod keys;
mod note; mod note;
mod sinsemilla; mod sinsemilla;
pub mod keys;
pub mod tree; pub mod tree;
pub use action::Action; pub use action::Action;

View File

@ -5,6 +5,8 @@ mod address;
mod arbitrary; mod arbitrary;
mod commitment; mod commitment;
mod note; mod note;
mod output;
mod spend;
#[cfg(test)] #[cfg(test)]
mod tests; mod tests;

View File

@ -16,7 +16,7 @@ mod test_vectors;
mod tests; mod tests;
use std::{ use std::{
convert::{From, Into, TryFrom, TryInto}, convert::{From, Into, TryFrom},
fmt, fmt,
io::{self, Write}, io::{self, Write},
str::FromStr, str::FromStr,