Rename WidthDB to WidthDb

This commit is contained in:
Joscha 2022-09-26 17:01:49 +02:00
parent f258c84094
commit 6ed47ad916
4 changed files with 10 additions and 10 deletions

View file

@ -3,12 +3,12 @@
use crate::buffer::Buffer;
pub use crate::buffer::{Pos, Size};
use crate::styled::Styled;
use crate::widthdb::WidthDB;
use crate::widthdb::WidthDb;
use crate::wrap;
#[derive(Debug, Default)]
pub struct Frame {
pub(crate) widthdb: WidthDB,
pub(crate) widthdb: WidthDb,
pub(crate) buffer: Buffer,
}
@ -45,7 +45,7 @@ impl Frame {
self.set_cursor(None);
}
pub fn widthdb(&mut self) -> &mut WidthDB {
pub fn widthdb(&mut self) -> &mut WidthDb {
&mut self.widthdb
}