take_fields() → into_fields()

This commit is contained in:
RumovZ 2022-04-27 18:34:29 +02:00
parent 969484de43
commit f2988f8054
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -55,7 +55,7 @@ impl Note {
&self.fields
}
pub fn take_fields(self) -> Vec<String> {
pub fn into_fields(self) -> Vec<String> {
self.fields
}