Skip to content

Commit

Permalink
fix:doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Jan 4, 2025
1 parent 6dd0e5e commit b667064
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use proof_of_sql_parser::{
ParseError,
};
use snafu::Snafu;
use sqlparser::ast::{Ident, TimezoneInfo};
use sqlparser::ast::Ident;

#[derive(Snafu, Debug)]
#[non_exhaustive]
Expand Down
5 changes: 2 additions & 3 deletions crates/proof-of-sql/src/base/database/table_utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,8 @@ pub fn borrowed_decimal75<S: Scalar>(
/// use proof_of_sql::base::{database::table_utility::*,
/// scalar::Curve25519Scalar,
/// };
/// use proof_of_sql_parser::{
/// posql_time::{PoSQLTimeZone, PoSQLTimeUnit}};
///
/// use proof_of_sql_parser::posql_time::PoSQLTimeUnit;
/// use sqlparser::ast::TimezoneInfo;
/// let alloc = Bump::new();
/// let result = table::<Curve25519Scalar>([
/// borrowed_timestamptz("event_time", PoSQLTimeUnit::Second, TimezoneInfo::None,vec![1625072400, 1625076000, 1625079600], &alloc),
Expand Down

0 comments on commit b667064

Please sign in to comment.