提交 e83b0198 编写于 作者: B Benjamin Sago

Inline field

上级 957c1925
......@@ -19,11 +19,9 @@ impl f::PermissionsPlus {
// As these are all ASCII characters, we can guarantee that they’re
// all going to be one character wide, and don’t need to compute the
// cell’s display width.
let width = DisplayWidth::from(chars.len());
TextCell {
width: DisplayWidth::from(chars.len()),
contents: chars.into(),
width: width,
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册