Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix three rustdoc::broken_intra_doc_links #3192

Merged
merged 1 commit into from
May 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions diesel/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,9 +1129,10 @@ macro_rules! __diesel_table_generate_static_query_fragment_for_table {
///
/// The generated `ON` clause will always join to the primary key of the parent
/// table. This macro removes the need to call [`.on`] explicitly, you will
/// still need to invoke [`allow_tables_to_appear_in_same_query!`] for these two tables to
/// be able to use the resulting query, unless you are using `diesel print-schema`
/// which will generate it for you.
/// still need to invoke
/// [`allow_tables_to_appear_in_same_query!`](crate::allow_tables_to_appear_in_same_query)
/// for these two tables to be able to use the resulting query, unless you are
/// using `diesel print-schema` which will generate it for you.
///
/// If you are using `diesel print-schema`, an invocation of this macro
/// will be generated for every foreign key in your database unless
Expand Down
2 changes: 1 addition & 1 deletion diesel/src/query_source/aliasing/alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::marker::PhantomData;
#[derive(Debug, Clone, Copy, Default)]
/// Represents an alias within diesel's query builder
///
/// See [alias!] for more details.
/// See [`alias!`](crate::alias) for more details.
pub struct Alias<S> {
pub(crate) source: S,
}
Expand Down
2 changes: 1 addition & 1 deletion diesel/src/query_source/aliasing/aliased_field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::marker::PhantomData;
#[derive(Debug, Clone, Copy)]
/// Represents an aliased field (column) within diesel's query builder
///
/// See [alias!] for more details.
/// See [`alias!`](crate::alias) for more details.
pub struct AliasedField<S, F> {
pub(super) _alias_source: PhantomData<S>,
pub(super) _field: F,
Expand Down