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 {
|
||||
/// new creates a new ConverterRunner with a converter for the provided output target.
|
||||
/// Creates a new ConverterRegistry.
|
||||
///
|
||||
/// * flags
|
||||
/// * json
|
||||
@ -75,12 +75,10 @@ pub struct ImporterRegistry {
|
||||
}
|
||||
|
||||
impl ImporterRegistry {
|
||||
/// new creates a new ConverterRunner with a converter for the provided output target.
|
||||
/// Creates a new ImporterRegistry.
|
||||
///
|
||||
/// * flags
|
||||
/// * json
|
||||
/// * env
|
||||
/// * exec
|
||||
/// * b64
|
||||
/// * b64urlsafe
|
||||
fn new() -> Self {
|
||||
ImporterRegistry {
|
||||
importers: HashMap::new(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user