formating

This commit is contained in:
Zen 2021-05-14 06:59:04 +03:00
parent ed20b91fe5
commit 1151a6edf4
2 changed files with 9 additions and 7 deletions

2
rustfmt.toml Normal file
View file

@ -0,0 +1,2 @@
edition = "2018"
tab_spaces = 2

View file

@ -16,7 +16,7 @@ fn get_ffmpeg_info() -> PyResult<String> {
/// A Python module implemented in Rust.
#[pymodule]
fn av1an(_py: Python, m: &PyModule) -> PyResult<()> {
fn av1an_rust(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(get_ffmpeg_info, m)?)?;
Ok(())