chore: remove Title references (#1943)

This commit is contained in:
Jagoda Estera Ślązak 2025-06-26 09:13:59 +02:00 committed by GitHub
parent d6647db744
commit 92bb9b2219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,6 @@
//!
//! In its simplest form, a `Block` is a [border](Borders) around another widget. It can have a
//! [title](Block::title) and [padding](Block::padding).
#![allow(deprecated)] // to avoid having to add `#[deprecated]` to every use of `Title`
use alloc::vec::Vec;
@ -932,7 +931,7 @@ impl Block<'_> {
/// Calculate the top, and bottom space that the [`Block`] will take up.
///
/// Takes the [`Padding`], [`Title`]'s position, and the [`Borders`] that are selected into
/// Takes the [`Padding`], [`TitlePosition`], and the [`Borders`] that are selected into
/// account when calculating the result.
pub(crate) fn vertical_space(&self) -> (u16, u16) {
let has_top =