mirror of https://github.com/zcash/orchard.git
Add clarifying note about nomenclature
There's no point in documenting everything as being an Orchard whizzbang. We are in the `orchard` crate, so the context should be obvious. This also fits with the standard Rust naming guideline of not duplicating module names in type name prefixes (`foo::bar::BarThing`).
This commit is contained in:
parent
2462bb219b
commit
f7cad7762a
|
@ -1,4 +1,11 @@
|
|||
//! # orchard
|
||||
//!
|
||||
//! ## Nomenclature
|
||||
//!
|
||||
//! All types in the `orchard` crate, unless otherwise specified, are Orchard-specific
|
||||
//! types. For example, [`Address`] is documented as being a shielded payment address; we
|
||||
//! implicitly mean it is an Orchard payment address (as opposed to e.g. a Sapling payment
|
||||
//! address, which is also shielded).
|
||||
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
// Catch documentation errors caused by code changes.
|
||||
|
|
Loading…
Reference in New Issue