Skip to content

Commit

Permalink
間違えてto_jsonにしてた
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Feb 7, 2025
1 parent d741320 commit dc3e00c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/voicevox_core_python_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ mod blocking {
Ok(())
}

fn to_json<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> {
fn to_dict<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> {
let words = self.dict.with_words(|words| {
words
.iter()
Expand Down Expand Up @@ -1518,7 +1518,7 @@ mod asyncio {
Ok(())
}

fn to_json<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> {
fn to_dict<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> {
let words = self.dict.with_words(|words| {
words
.iter()
Expand Down

0 comments on commit dc3e00c

Please sign in to comment.