Skip to content

Commit

Permalink
Fix build failure on 1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
lampsitter committed Feb 12, 2024
1 parent 1078ac2 commit 4a96278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/parsers/comrak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl CommonMarkViewerInternal {

impl CommonMarkViewerInternal {
/// Be aware that this acquires egui::Context internally.
pub fn show(
pub(crate) fn show(
&mut self,
ui: &mut egui::Ui,
cache: &mut CommonMarkCache,
Expand Down
4 changes: 2 additions & 2 deletions src/parsers/pulldown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl CommonMarkViewerInternal {

impl CommonMarkViewerInternal {
/// Be aware that this acquires egui::Context internally.
pub fn show(
pub(crate) fn show(
&mut self,
ui: &mut egui::Ui,
cache: &mut CommonMarkCache,
Expand Down Expand Up @@ -100,7 +100,7 @@ impl CommonMarkViewerInternal {
});
}

pub fn show_scrollable(
pub(crate) fn show_scrollable(
&mut self,
ui: &mut egui::Ui,
cache: &mut CommonMarkCache,
Expand Down

0 comments on commit 4a96278

Please sign in to comment.