mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
DOC: Fix docstring for registry new constructors.
This commit is contained in:
parent
2c3f9c7b8f
commit
47163ef010
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user