mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-16 01:05:02 +01:00
vendor prettyplease
This commit is contained in:
parent
a7919c6da1
commit
39c186233c
29 changed files with 4987 additions and 4 deletions
9
prettyplease-forked/src/lifetime.rs
Normal file
9
prettyplease-forked/src/lifetime.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use crate::algorithm::Printer;
|
||||
use syn::Lifetime;
|
||||
|
||||
impl Printer {
|
||||
pub fn lifetime(&mut self, lifetime: &Lifetime) {
|
||||
self.word("'");
|
||||
self.ident(&lifetime.ident);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue