Make 'self lifetime illegal.
Also remove all instances of 'self within the codebase. This fixes #10889.
This commit is contained in:
parent
d441c54688
commit
5731ca3078
187 changed files with 1290 additions and 1277 deletions
|
@ -18,10 +18,10 @@ pub struct Layout {
|
|||
crate: ~str,
|
||||
}
|
||||
|
||||
pub struct Page<'self> {
|
||||
title: &'self str,
|
||||
ty: &'self str,
|
||||
root_path: &'self str,
|
||||
pub struct Page<'a> {
|
||||
title: &'a str,
|
||||
ty: &'a str,
|
||||
root_path: &'a str,
|
||||
}
|
||||
|
||||
pub fn render<T: fmt::Default, S: fmt::Default>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue