Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/src/books/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ fn cursor_from_row(row: &sqlx::sqlite::SqliteRow, sort: SortKey) -> PageCursor {
}

/// `?, ?, …` of length `n`.
fn placeholders(n: usize) -> String {
pub(super) fn placeholders(n: usize) -> String {
Comment thread
seamus-sloan marked this conversation as resolved.
std::iter::repeat_n("?", n).collect::<Vec<_>>().join(", ")
}

Expand Down
2 changes: 1 addition & 1 deletion db/src/books/projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ macro_rules! book_columns_body {
",
// Projected on every listing, not just the Recently Interacted one:
// the mobile offline replica sorts its cached rows client-side, and
// a row whose key is missing falls back to the id tiebreak and
// a row whose key is missing falls back to the title tiebreak and
// scrambles the server order.
interacted_at_iso_sql!(),
" AS last_interacted_at
Expand Down
Loading
Loading