Skip to content

Commit

Permalink
Fix failing doctests after trait rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Jul 25, 2022
1 parent 9a7d08a commit 29acee6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nexus/db-model/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::fmt::Debug;
/// Projects, the Organization datatype should implement this trait.
/// ```
/// # use diesel::prelude::*;
/// # use nexus_db_model::DatastoreCollection;
/// # use nexus_db_model::DatastoreCollectionConfig;
/// # use nexus_db_model::Generation;
/// #
/// # table! {
Expand Down Expand Up @@ -48,7 +48,7 @@ use std::fmt::Debug;
/// pub rcgen: Generation,
/// }
///
/// impl DatastoreCollection<Project> for Organization {
/// impl DatastoreCollectionConfig<Project> for Organization {
/// // Type of Organization::identity::id and Project::organization_id
/// type CollectionId = uuid::Uuid;
///
Expand Down Expand Up @@ -82,7 +82,7 @@ pub trait DatastoreCollectionConfig<ResourceType> {
/// Disks, the Instance datatype should implement this trait.
/// ```
/// # use diesel::prelude::*;
/// # use nexus_db_model::DatastoreAttachTarget;
/// # use nexus_db_model::DatastoreAttachTargetConfig;
/// #
/// # table! {
/// # test_schema.instance (id) {
Expand Down Expand Up @@ -114,7 +114,7 @@ pub trait DatastoreCollectionConfig<ResourceType> {
/// pub time_deleted: Option<chrono::DateTime<chrono::Utc>>,
/// }
///
/// impl DatastoreAttachTarget<Disk> for Instance {
/// impl DatastoreAttachTargetConfig<Disk> for Instance {
/// // Type of instance::id and disk::id.
/// type Id = uuid::Uuid;
///
Expand Down

0 comments on commit 29acee6

Please sign in to comment.