Upgrade Rust toolchain to 1.83 (#14677)

This commit is contained in:
Micha Reiser 2024-11-29 13:05:05 +01:00 committed by GitHub
parent a6402fb51e
commit b63c2e126b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 127 additions and 127 deletions

View file

@ -905,7 +905,7 @@ struct PrinterState<'a> {
fits_queue: Vec<std::slice::Iter<'a, FormatElement>>,
}
impl<'a> PrinterState<'a> {
impl PrinterState<'_> {
fn with_capacity(capacity: usize) -> Self {
Self {
buffer: String::with_capacity(capacity),
@ -1049,8 +1049,6 @@ struct FitsMeasurer<'a, 'print> {
bomb: DebugDropBomb,
}
impl<'a, 'print> FitsMeasurer<'a, 'print> {}
impl<'a, 'print> FitsMeasurer<'a, 'print> {
fn new_flat(
print_queue: &'print PrintQueue<'a>,

View file

@ -145,7 +145,7 @@ impl<'a, 'print> FitsQueue<'a, 'print> {
}
}
impl<'a, 'print> Queue<'a> for FitsQueue<'a, 'print> {
impl<'a> Queue<'a> for FitsQueue<'a, '_> {
fn pop(&mut self) -> Option<&'a FormatElement> {
self.queue.pop().or_else(
#[cold]