mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-05 20:18:25 +00:00
Remove broken conversion
This commit is contained in:
parent
42a347c063
commit
5887aa8cde
@ -425,8 +425,7 @@ impl<'a> File<'a> {
|
|||||||
|
|
||||||
/// Helper method for the permissions string.
|
/// Helper method for the permissions string.
|
||||||
fn permission_bit(bits: mode_t, bit: mode_t, character: &'static str, style: Style) -> ANSIString<'static> {
|
fn permission_bit(bits: mode_t, bit: mode_t, character: &'static str, style: Style) -> ANSIString<'static> {
|
||||||
let bi32 = bit as u16;
|
if bits & bit == bit {
|
||||||
if bits & bi32 == bi32 {
|
|
||||||
style.paint(character)
|
style.paint(character)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user