remove more unwrap
This commit is contained in:
1 parent
5a6747030b
commit
b5b1eb768c
6 files changed
+38
-26
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ use std::str::FromStr;
|
||||
use rusqlite::ToSql;
|
||||
use rusqlite::types::{FromSql, FromSqlError, FromSqlResult, ToSqlOutput, ValueRef};
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Debug, Hash, Copy, Ord, PartialOrd)]
|
||||
#[derive(Clone, PartialEq, Eq, Debug, Hash, Copy, Ord, PartialOrd, Default)]
|
||||
pub struct Id(pub(crate) u32);
|
||||
pub const INVALID_ID: Id = Id(0);
|
||||
impl FromStr for Id {
|
||||
|
||||
Reference in new issue
Block a user