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)]
// Disable old lint warnings on nightly until 1.51 is stable
#![allow(renamed_and_removed_lints)]
#![warn(missing_docs)]
#[macro_use]
extern crate serde;

View File

@ -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;

View File

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

View File

@ -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,