File tree Expand file tree Collapse file tree 11 files changed +11
-20
lines changed Expand file tree Collapse file tree 11 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 1
1
//! Gzip and Brotli response compression.
2
2
//!
3
- //! See the [`Compression`](compression::Compression) and
4
- //! [`Compress`](compression::Compress) types for further details.
3
+ //! See the [`Compression`] and [`Compress`] types for further details.
5
4
//!
6
5
//! # Enabling
7
6
//!
Original file line number Diff line number Diff line change 394
394
//!
395
395
//! [`FromRequest`]: rocket::request::FromRequest
396
396
//! [request guards]: rocket::request::FromRequest
397
- //! [`Poolable`]: databases::Poolable
398
397
399
398
pub extern crate r2d2;
400
399
Original file line number Diff line number Diff line change 1
1
//! Automatic JSON (de)serialization support.
2
2
//!
3
- //! See the [`Json`](json::Json) type for further details.
3
+ //! See the [`Json`] type for further details.
4
4
//!
5
5
//! # Enabling
6
6
//!
Original file line number Diff line number Diff line change 1
1
//! Custom handler and options for static file serving.
2
2
//!
3
- //! See the [`StaticFiles`](serve::StaticFiles) type for further details.
3
+ //! See the [`StaticFiles`] type for further details.
4
4
//!
5
5
//! # Enabling
6
6
//!
Original file line number Diff line number Diff line change 111
111
//! template reloading is disabled to improve performance and cannot be enabled.
112
112
//!
113
113
//! [`Serialize`]: serde::Serialize
114
- //! [`Template`]: templates::Template
115
- //! [`Template::fairing()`]: templates::Template::fairing()
116
- //! [`Template::custom()`]: templates::Template::custom()
117
- //! [`Template::render()`]: templates::Template::render()
118
114
119
115
#[ cfg( feature = "tera_templates" ) ] pub extern crate tera;
120
116
#[ cfg( feature = "tera_templates" ) ] mod tera_templates;
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ impl PartialEq for AcceptParams {
130
130
/// [`Request::accept()`] method. The [`preferred()`] method can be used to
131
131
/// retrieve the client's preferred media type.
132
132
///
133
- /// [`Request::accept`]: rocket::Request::accept()
133
+ /// [`Request::accept() `]: rocket::Request::accept()
134
134
/// [`preferred()`]: Accept::preferred()
135
135
///
136
136
/// An `Accept` type with a single, common media type can be easily constructed
Original file line number Diff line number Diff line change 154
154
//! ## Retrieving Configuration Parameters
155
155
//!
156
156
//! Configuration parameters for the currently active configuration environment
157
- //! can be retrieved via the [`Rocket::config()`] ` Rocket` and `get_` methods on
158
- //! [`Config`] structure.
157
+ //! can be retrieved via the [`Rocket::config()`](crate:: Rocket::config()) method
158
+ //! on `Rocket` and `get_` methods on [`Config`] structure.
159
159
//!
160
160
//! The retrivial of configuration parameters usually occurs at launch time via
161
161
//! a [launch fairing](crate::fairing::Fairing). If information about the
Original file line number Diff line number Diff line change 8
8
//! to perform an action once a Rocket application has launched.
9
9
//!
10
10
//! To learn more about writing a fairing, see the [`Fairing`] trait
11
- //! documentation. You can also use [`AdHoc`](fairing::AdHoc) to create a
12
- //! fairing on-the-fly from a closure or function.
11
+ //! documentation. You can also use [`AdHoc`] to create a fairing on-the-fly
12
+ //! from a closure or function.
13
13
//!
14
14
//! ## Attaching
15
15
//!
Original file line number Diff line number Diff line change 9
9
//!
10
10
//! This module contains a [`Client`] structure that is used to create
11
11
//! [`LocalRequest`] structures that can be dispatched against a given
12
- //! [`Rocket`] instance. Usage is straightforward:
12
+ //! [`Rocket`](crate::Rocket) instance. Usage is straightforward:
13
13
//!
14
14
//! 1. Construct a `Rocket` instance that represents the application.
15
15
//!
94
94
//! }
95
95
//! }
96
96
//! ```
97
- //!
98
- //! [`Client`]: local::Client
99
- //! [`LocalRequest`]: local::LocalRequest
100
97
101
98
mod request;
102
99
mod client;
Original file line number Diff line number Diff line change 12
12
//! including [`FromRequest`](crate::request::FromRequest),
13
13
//! [`FromData`](crate::data::FromData), and
14
14
//! [`Responder`](crate::response::Responder). It is also the return type of
15
- //! request handlers via the [`Response`] type.
15
+ //! request handlers via the [`Response`](crate::response::Response) type.
16
16
//!
17
17
//! # Success
18
18
//!
You can’t perform that action at this time.
0 commit comments