diff --git a/rslib/src/import_export/package/apkg/import/notes.rs b/rslib/src/import_export/package/apkg/import/notes.rs index 7435f3f5d..f3160158f 100644 --- a/rslib/src/import_export/package/apkg/import/notes.rs +++ b/rslib/src/import_export/package/apkg/import/notes.rs @@ -67,7 +67,7 @@ impl Note { LogNote { id: Some(self.id.into()), fields: self - .take_fields() + .into_fields() .into_iter() .map(|field| { strip_html_preserving_media_filenames(&field) diff --git a/rslib/src/notes/mod.rs b/rslib/src/notes/mod.rs index 55e2585bb..ed8ec29fa 100644 --- a/rslib/src/notes/mod.rs +++ b/rslib/src/notes/mod.rs @@ -55,7 +55,7 @@ impl Note { &self.fields } - pub fn take_fields(self) -> Vec { + pub fn into_fields(self) -> Vec { self.fields }