Update method name and partially document platform crate

co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Mikayla 2024-01-17 10:23:46 -08:00
parent 7a299e966a
commit 9eecda2dae
No known key found for this signature in database
10 changed files with 38 additions and 32 deletions

View file

@ -13,7 +13,7 @@ pub struct LineWrapper {
impl LineWrapper {
pub const MAX_INDENT: u32 = 256;
pub fn new(
pub(crate) fn new(
font_id: FontId,
font_size: Pixels,
text_system: Arc<dyn PlatformTextSystem>,