format: mark Context::nb_streams as public

This commit is contained in:
Zhiming Wang 2020-08-09 13:58:48 +08:00
parent 1849a07aa6
commit d07530267e
No known key found for this signature in database
GPG Key ID: 5B58F95EC95965D8

View File

@ -38,7 +38,7 @@ impl Context {
impl Context { impl Context {
#[inline] #[inline]
fn nb_streams(&self) -> u32 { pub fn nb_streams(&self) -> u32 {
unsafe { (*self.as_ptr()).nb_streams } unsafe { (*self.as_ptr()).nb_streams }
} }