Skip to content

Commit 3488dbd

Browse files
authored
Merge pull request diesel-rs#3192 from Enselic/fix-three-broken-intra-doc-links
Fix three rustdoc::broken_intra_doc_links
2 parents ecd22fb + 3783c1c commit 3488dbd

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

diesel/src/macros/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,9 +1129,10 @@ macro_rules! __diesel_table_generate_static_query_fragment_for_table {
11291129
///
11301130
/// The generated `ON` clause will always join to the primary key of the parent
11311131
/// table. This macro removes the need to call [`.on`] explicitly, you will
1132-
/// still need to invoke [`allow_tables_to_appear_in_same_query!`] for these two tables to
1133-
/// be able to use the resulting query, unless you are using `diesel print-schema`
1134-
/// which will generate it for you.
1132+
/// still need to invoke
1133+
/// [`allow_tables_to_appear_in_same_query!`](crate::allow_tables_to_appear_in_same_query)
1134+
/// for these two tables to be able to use the resulting query, unless you are
1135+
/// using `diesel print-schema` which will generate it for you.
11351136
///
11361137
/// If you are using `diesel print-schema`, an invocation of this macro
11371138
/// will be generated for every foreign key in your database unless

diesel/src/query_source/aliasing/alias.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::marker::PhantomData;
1313
#[derive(Debug, Clone, Copy, Default)]
1414
/// Represents an alias within diesel's query builder
1515
///
16-
/// See [alias!] for more details.
16+
/// See [`alias!`](crate::alias) for more details.
1717
pub struct Alias<S> {
1818
pub(crate) source: S,
1919
}

diesel/src/query_source/aliasing/aliased_field.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::marker::PhantomData;
1616
#[derive(Debug, Clone, Copy)]
1717
/// Represents an aliased field (column) within diesel's query builder
1818
///
19-
/// See [alias!] for more details.
19+
/// See [`alias!`](crate::alias) for more details.
2020
pub struct AliasedField<S, F> {
2121
pub(super) _alias_source: PhantomData<S>,
2222
pub(super) _field: F,

0 commit comments

Comments
 (0)