Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 7 additions & 7 deletions
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-
pubwhitespace_left: usize,
50+
whitespace_left: usize,
5151
/// The column of the beginning of left-most span.
52-
pubspan_left: usize,
52+
span_left: usize,
5353
/// The column of the end of right-most span.
54-
pubspan_right: usize,
54+
span_right: usize,
5555
/// The beginning of the line to be displayed.
56-
pubcomputed_left: usize,
56+
computed_left: usize,
5757
/// The end of the line to be displayed.
58-
pubcomputed_right: usize,
58+
computed_right: usize,
5959
/// The current width of the terminal. 140 by default and in tests.
60-
pubcolumn_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-
publabel_right: usize,
63+
label_right: usize,
6464
}
6565

6666
impl Margin {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /