mirror of https://github.com/rwf2/Rocket.git
Specify 'rocket_contrib' version correctly in doc examples.
This commit is contained in:
parent
afd08ffb20
commit
a88bc95201
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = 0.4.0
|
//! version = "0.4.0"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["handlebars_templates", "tera_templates"]
|
//! features = ["handlebars_templates", "tera_templates"]
|
||||||
//! ```
|
//! ```
|
||||||
|
@ -158,7 +158,7 @@ const DEFAULT_TEMPLATE_DIR: &str = "templates";
|
||||||
///
|
///
|
||||||
/// ```toml
|
/// ```toml
|
||||||
/// [dependencies.rocket_contrib]
|
/// [dependencies.rocket_contrib]
|
||||||
/// version = "*"
|
/// version = "0.4.0"
|
||||||
/// default-features = false
|
/// default-features = false
|
||||||
/// features = ["handlebars_templates", "tera_templates"]
|
/// features = ["handlebars_templates", "tera_templates"]
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -34,7 +34,7 @@ pub use self::uuid_crate::parser::ParseError;
|
||||||
///
|
///
|
||||||
/// ```toml
|
/// ```toml
|
||||||
/// [dependencies.rocket_contrib]
|
/// [dependencies.rocket_contrib]
|
||||||
/// version = "*"
|
/// version = "0.4.0"
|
||||||
/// default-features = false
|
/// default-features = false
|
||||||
/// features = ["uuid"]
|
/// features = ["uuid"]
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in New Issue