diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-07-09 18:57:29 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-07-09 18:57:29 +0200 |
commit | 78fb6560c73965d834b215fb0b49505ae5443288 (patch) | |
tree | 837f8adb980249cb696c35b39a0e43bfde976ad6 /nihav-core | |
parent | 0bc221c3de38a5e549cb23cebf74349669310143 (diff) | |
download | nihav-78fb6560c73965d834b215fb0b49505ae5443288.tar.gz |
rename register_all_codecs to register_all_decoders
Diffstat (limited to 'nihav-core')
-rw-r--r-- | nihav-core/src/codecs/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nihav-core/src/codecs/mod.rs b/nihav-core/src/codecs/mod.rs index c6ee95e..58757ef 100644 --- a/nihav-core/src/codecs/mod.rs +++ b/nihav-core/src/codecs/mod.rs @@ -102,7 +102,7 @@ pub struct DecoderInfo { /// Structure for registering known decoders. /// -/// It is supposed to be filled using `register_all_codecs()` from some decoders crate and then it can be used to create decoders for the requested codecs. +/// It is supposed to be filled using `register_all_decoders()` from some decoders crate and then it can be used to create decoders for the requested codecs. #[derive(Default)] pub struct RegisteredDecoders { decs: Vec<DecoderInfo>, @@ -319,7 +319,7 @@ pub struct EncoderInfo { /// Structure for registering known encoders. /// -/// It is supposed to be filled using `register_all_codecs()` from some encoders crate and then it can be used to create encoders for the requested codecs. +/// It is supposed to be filled using `register_all_decoders()` from some encoders crate and then it can be used to create encoders for the requested codecs. #[derive(Default)] pub struct RegisteredEncoders { encs: Vec<EncoderInfo>, |