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)]
|
#![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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue