Skip to content

Commit d505170

Browse files
committed
Fix some broken links in documentation
1 parent bc0ecbd commit d505170

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

diesel/src/expression/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl<'a, T: Expression + ?Sized> Expression for &'a T {
107107
/// [`IntoSql`]: trait.IntoSql.html
108108
/// [`now`]: ../dsl/struct.now.html
109109
/// [`Timestamp`]: ../sql_types/struct.Timestamp.html
110-
/// [`Timestamptz`]: ../../pg/types/sql_types/struct.Timestamptz.html
110+
/// [`Timestamptz`]: ../pg/types/sql_types/struct.Timestamptz.html
111111
/// [`ToSql`]: ../serialize/trait.ToSql.html
112112
///
113113
/// ## Deriving

diesel/src/pg/expression/mod.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ pub mod helper_types;
1616

1717
mod date_and_time;
1818

19-
/// PostgreSQL specific expression DSL methods. This module will be glob
20-
/// imported by [`diesel::dsl`](../../../dsl/index.html) when
21-
/// compiled with the `feature = "postgres"` flag.
19+
/// PostgreSQL specific expression DSL methods.
20+
///
21+
/// This module will be glob imported by
22+
/// [`diesel::dsl`](../../../dsl/index.html) when compiled with the `feature =
23+
/// "postgres"` flag.
2224
pub mod dsl {
2325
#[doc(inline)]
2426
pub use super::array_comparison::{all, any};

diesel/src/pg/upsert/on_conflict_extension.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ where
163163
/// See the documentation for [`on_constraint`] and [`do_update`] for
164164
/// more examples.
165165
///
166-
/// [`on_constraint`]: ../../pg/upsert/fn.on_constraint.html
167-
/// [`do_update`]: ../../pg/upsert/struct.IncompleteOnConflict.html#method.do_update
166+
/// [`on_constraint`]: ../pg/upsert/fn.on_constraint.html
167+
/// [`do_update`]: ../pg/upsert/struct.IncompleteOnConflict.html#method.do_update
168168
pub fn on_conflict<Target>(
169169
self,
170170
target: Target,

diesel/src/query_builder/bind_collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use sql_types::{HasSqlType, TypeMetadata};
1212
/// are adding support for a new backend to Diesel. Plugins which are extending
1313
/// the query builder will use [`AstPass::push_bind_param`] instead.
1414
///
15-
/// [`AstPass::push_bind_param`]: ../struct.AstPass.htmll#method.push_bind_param
15+
/// [`AstPass::push_bind_param`]: ../struct.AstPass.html#method.push_bind_param
1616
pub trait BindCollector<DB: Backend> {
1717
/// Serializes the given bind value, and collects the result.
1818
fn push_bound_value<T, U>(

0 commit comments

Comments
 (0)