Skip to content

Commit d6abdf9

Browse files
docs(db): clarify DM wrapper section
Signed-off-by: tornquist <[email protected]>
1 parent f645a8f commit d6abdf9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎crates/buzz-db/src/dm.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ fn row_to_channel_record(row: sqlx::postgres::PgRow) -> Result<ChannelRecord> {
516516
})
517517
}
518518

519-
// -- Tests --------------------------------------------------------------------
519+
// -- Db API -------------------------------------------------------------------
520520

521521
impl Db {
522522
/// Find an existing DM by its participant hash.
@@ -599,6 +599,8 @@ impl Db {
599599
}
600600
}
601601

602+
// -- Tests --------------------------------------------------------------------
603+
602604
#[cfg(test)]
603605
mod tests {
604606
use super::*;

0 commit comments

Comments
 (0)