a9-prettyplease 0.2.37

A minimal `syn` syntax tree pretty-printer (fork of prettyplease with enhanced blank-line heuristics)
Documentation
1
2
3
4
5
6
7
8
9
use crate::algorithm::Printer;
use syn::Lifetime;

impl Printer {
    pub fn lifetime(&mut self, lifetime: &Lifetime) {
        self.word("'");
        self.ident(&lifetime.ident);
    }
}