prettyplease/
lifetime.rs

1use crate::algorithm::Printer;
2use syn::Lifetime;
3
4impl Printer {
5    pub fn lifetime(&mut self, lifetime: &Lifetime) {
6        self.word("'");
7        self.ident(&lifetime.ident);
8    }
9}