blob: a08a66b5e259caee4f43d4194e4b087bb2ea91cc [file] [log] [blame]
use unicode_width::UnicodeWidthStr;
// Duplicated from the rustfmt::util module
pub(crate) fn unicode_str_width(s: &str) -> usize {
s.width()
}