mirror of https://github.com/rwf2/Rocket.git
Update 'contains_template' documentation.
This commit is contained in:
parent
34c76dd0a9
commit
d5fec97fcb
|
@ -40,8 +40,8 @@ use templates::ContextManager;
|
||||||
pub struct Metadata<'a>(&'a ContextManager);
|
pub struct Metadata<'a>(&'a ContextManager);
|
||||||
|
|
||||||
impl<'a> Metadata<'a> {
|
impl<'a> Metadata<'a> {
|
||||||
/// Returns `true` if the template with name `name` was loaded at start-up
|
/// Returns `true` if the template with the given `name` is currently
|
||||||
/// time. Otherwise, returns `false`.
|
/// loaded. Otherwise, returns `false`.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue