mirror of
https://github.com/ankitects/anki.git
synced 2025-11-30 00:17: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 {
|
LogNote {
|
||||||
id: Some(self.id.into()),
|
id: Some(self.id.into()),
|
||||||
fields: self
|
fields: self
|
||||||
.take_fields()
|
.into_fields()
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|field| {
|
.map(|field| {
|
||||||
strip_html_preserving_media_filenames(&field)
|
strip_html_preserving_media_filenames(&field)
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ impl Note {
|
||||||
&self.fields
|
&self.fields
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn take_fields(self) -> Vec<String> {
|
pub fn into_fields(self) -> Vec<String> {
|
||||||
self.fields
|
self.fields
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue