@@ -228,15 +228,15 @@ impl Registry {
228228 /// let subsystem_a_counter_2: Counter = Counter::default();
229229 ///
230230 /// let subsystem_a_registry = registry.sub_registry_with_prefix("subsystem_a");
231- /// registry .register("counter_1", "", subsystem_a_counter_1.clone());
232- /// registry .register("counter_2", "", subsystem_a_counter_2.clone());
231+ /// subsystem_a_registry .register("counter_1", "", subsystem_a_counter_1.clone());
232+ /// subsystem_a_registry .register("counter_2", "", subsystem_a_counter_2.clone());
233233 ///
234234 /// let subsystem_b_counter_1: Counter = Counter::default();
235235 /// let subsystem_b_counter_2: Counter = Counter::default();
236236 ///
237- /// let subsystem_a_registry = registry.sub_registry_with_prefix("subsystem_b");
238- /// registry .register("counter_1", "", subsystem_b_counter_1.clone());
239- /// registry .register("counter_2", "", subsystem_b_counter_2.clone());
237+ /// let subsystem_b_registry = registry.sub_registry_with_prefix("subsystem_b");
238+ /// subsystem_b_registry .register("counter_1", "", subsystem_b_counter_1.clone());
239+ /// subsystem_b_registry .register("counter_2", "", subsystem_b_counter_2.clone());
240240 /// ```
241241 ///
242242 /// See [`Registry::sub_registry_with_label`] for the same functionality,
0 commit comments