提交 571be764 编写于 作者: B Ben S

The Row struct's fields don't need to be pub

上级 8139cfed
...@@ -56,12 +56,12 @@ impl Details { ...@@ -56,12 +56,12 @@ impl Details {
} }
struct Row { struct Row {
pub depth: usize, depth: usize,
pub cells: Vec<Cell>, cells: Vec<Cell>,
pub name: String, name: String,
pub last: bool, last: bool,
pub attrs: Vec<Attribute>, attrs: Vec<Attribute>,
pub children: bool, children: bool,
} }
type ColumnInfo = (usize, Alignment); type ColumnInfo = (usize, Alignment);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册