Skip to content

Commit dae1a97

Browse files
committed
Fix visibility of Margin fields
1 parent e3d5e65 commit dae1a97

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/display_list/structs.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ pub struct FormatOptions {
4747
#[derive(Clone, Copy, Debug)]
4848
pub struct Margin {
4949
/// The available whitespace in the left that can be consumed when centering.
50-
pub whitespace_left: usize,
50+
whitespace_left: usize,
5151
/// The column of the beginning of left-most span.
52-
pub span_left: usize,
52+
span_left: usize,
5353
/// The column of the end of right-most span.
54-
pub span_right: usize,
54+
span_right: usize,
5555
/// The beginning of the line to be displayed.
56-
pub computed_left: usize,
56+
computed_left: usize,
5757
/// The end of the line to be displayed.
58-
pub computed_right: usize,
58+
computed_right: usize,
5959
/// The current width of the terminal. 140 by default and in tests.
60-
pub column_width: usize,
60+
column_width: usize,
6161
/// The end column of a span label, including the span. Doesn't account for labels not in the
6262
/// same line as the span.
63-
pub label_right: usize,
63+
label_right: usize,
6464
}
6565

6666
impl Margin {

0 commit comments

Comments
 (0)