Skip to content

Commit

Permalink
chore: Use unimplemented!() in hidden doc example instead of todo!()
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Oct 23, 2024
1 parent 81f6b13 commit 9027537
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/migration/timestamp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub enum Timestamps {
/// }
/// #
/// # async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
/// # todo!()
/// # unimplemented!()
/// # }
/// }
/// ```
Expand Down Expand Up @@ -100,7 +100,7 @@ pub async fn exec_create_update_timestamp_function<C: IntoIden>(
/// }
/// #
/// # async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
/// # todo!()
/// # unimplemented!()
/// # }
/// }
/// ```
Expand Down Expand Up @@ -240,7 +240,7 @@ $$ language 'plpgsql';
/// #[async_trait::async_trait]
/// impl MigrationTrait for Migration {
/// # async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
/// # todo!()
/// # unimplemented!()
/// # }
/// #
/// async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
Expand Down Expand Up @@ -310,7 +310,7 @@ fn drop_update_timestamp_function_for_db_backend<C: IntoIden>(
/// }
/// #
/// # async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
/// # todo!()
/// # unimplemented!()
/// # }
/// }
///
Expand Down Expand Up @@ -396,7 +396,7 @@ EXECUTE PROCEDURE {fn_call};
/// #[async_trait::async_trait]
/// impl MigrationTrait for Migration {
/// # async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
/// # todo!()
/// # unimplemented!()
/// # }
/// #
/// async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
Expand Down

0 comments on commit 9027537

Please sign in to comment.