DOC: Fix docstring for registry new constructors.

This commit is contained in:
Jeremy Wall 2019-01-05 15:51:59 -06:00
parent 2c3f9c7b8f
commit 47163ef010

View File

@ -31,7 +31,7 @@ pub struct ConverterRegistry {
} }
impl ConverterRegistry { impl ConverterRegistry {
/// new creates a new ConverterRunner with a converter for the provided output target. /// Creates a new ConverterRegistry.
/// ///
/// * flags /// * flags
/// * json /// * json
@ -75,12 +75,10 @@ pub struct ImporterRegistry {
} }
impl ImporterRegistry { impl ImporterRegistry {
/// new creates a new ConverterRunner with a converter for the provided output target. /// Creates a new ImporterRegistry.
/// ///
/// * flags /// * b64
/// * json /// * b64urlsafe
/// * env
/// * exec
fn new() -> Self { fn new() -> Self {
ImporterRegistry { ImporterRegistry {
importers: HashMap::new(), importers: HashMap::new(),