diff --git a/nexus/inventory/src/builder.rs b/nexus/inventory/src/builder.rs index 957ce7bf93..2d8ba0d1f9 100644 --- a/nexus/inventory/src/builder.rs +++ b/nexus/inventory/src/builder.rs @@ -44,7 +44,7 @@ impl std::fmt::Display for InventoryError { } } -/// Describes a mis-use of the [`Builder`] object +/// Describes a mis-use of the [`CollectionBuilder`] object /// /// Example: reporting information about a caboose when the caller has not /// already reported information about the corresopnding baseboard. diff --git a/nexus/inventory/src/lib.rs b/nexus/inventory/src/lib.rs index 3a5f60b387..e92c46916d 100644 --- a/nexus/inventory/src/lib.rs +++ b/nexus/inventory/src/lib.rs @@ -23,5 +23,7 @@ pub mod examples; // only exposed for test code to construct collections pub use builder::CollectionBuilder; +pub use builder::CollectorBug; +pub use builder::InventoryError; pub use collector::Collector;