mirror of
https://github.com/ankitects/anki.git
synced 2025-11-30 08:27:12 -05:00
take_fields() → into_fields()
This commit is contained in:
parent
969484de43
commit
f2988f8054
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ impl Note {
|
|||
&self.fields
|
||||
}
|
||||
|
||||
pub fn take_fields(self) -> Vec<String> {
|
||||
pub fn into_fields(self) -> Vec<String> {
|
||||
self.fields
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue