Cow<str> workaround no longer required

This commit is contained in:
Damien Elmes 2020-04-07 10:08:03 +10:00
parent caa513899d
commit c950a00610
2 changed files with 3 additions and 3 deletions

View File

@ -47,12 +47,12 @@ futures = "0.3.4"
# pinned until rusqlite 0.22 comes out
[target.'cfg(target_vendor="apple")'.dependencies.rusqlite]
git = "https://github.com/jgallagher/rusqlite.git"
rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3"
rev = "76336369ed2ebb6086048f05de1775ff0e7d47c3"
features = ["trace", "functions", "collation"]
[target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite]
git = "https://github.com/jgallagher/rusqlite.git"
rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3"
rev = "76336369ed2ebb6086048f05de1775ff0e7d47c3"
features = ["trace", "functions", "collation", "bundled"]
[target.'cfg(linux)'.dependencies]

View File

@ -109,7 +109,7 @@ pub(super) fn set_note(db: &Connection, note: &mut Note, note_type: &NoteType) -
note.mtime,
note.usn,
note.fields().join("\x1f"),
sort_field.as_ref(),
sort_field,
csum,
note.id,
])?;