Skip to content

Commit 68c05e2

Browse files
committed
Add doc link for no-inherit configs
1 parent 5fe6fad commit 68c05e2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

micropb-gen/src/config.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ config_decl! {
376376
/// ```
377377
///
378378
/// # Note
379-
/// This configuration is only applied to the path passed to `configure`. It is
380-
/// not propagated to "children" paths.
379+
/// This configuration is only applied to the path passed to
380+
/// [`configure`](crate::Generator::configure). It is not propagated to "children" paths.
381381
[no_inherit] rename_field: [deref] Option<String>,
382382

383383
/// Override the max size of the field on the wire.
@@ -407,8 +407,8 @@ config_decl! {
407407
/// ```
408408
///
409409
/// # Note
410-
/// This configuration is only applied to the path passed to `configure`. It is
411-
/// not propagated to "children" paths.
410+
/// This configuration is only applied to the path passed to
411+
/// [`configure`](crate::Generator::configure). It is not propagated to "children" paths.
412412
[no_inherit] field_lifetime: [deref] Option<String>,
413413

414414
// Type configs
@@ -465,8 +465,8 @@ config_decl! {
465465
/// like with [`custom_field`](Config::custom_field).
466466
///
467467
/// # Note
468-
/// This configuration is only applied to the path passed to `configure`. It is
469-
/// not propagated to "children" paths.
468+
/// This configuration is only applied to the path passed to
469+
/// [`configure`](crate::Generator::configure). It is not propagated to "children" paths.
470470
[no_inherit] unknown_handler: [deref] Option<String>,
471471

472472
// General configs

0 commit comments

Comments
 (0)