Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: typo in method name
Lars Wirzenius committed 1 year ago
commit b7e71f380bfc26f1cd0c9d6f8d049e3010461b14
parent 7a1f7a7a1a1b07932c6d09c926cf7f5a0e42576c
1 file changed +2 -2
modified src/db.rs
@@ -98,7 +98,7 @@ impl Db {
        trace!("prepare {}", sql);
        match self.conn.prepare(sql) {
            Ok(stmt) => Ok(Stmt::new(sql, stmt)),
-
            Err(e) => Err(DbError::preapre(sql, &self.filename, e)),
+
            Err(e) => Err(DbError::prepare(sql, &self.filename, e)),
        }
    }

@@ -575,7 +575,7 @@ impl DbError {
        Self::Open(filename.into(), e)
    }

-
    fn preapre(sql: &str, filename: &Path, e: sqlite::Error) -> Self {
+
    fn prepare(sql: &str, filename: &Path, e: sqlite::Error) -> Self {
        Self::Prepare(sql.into(), filename.into(), e)
    }