mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
working_copy: make a &mut self
argument not mutable
This commit is contained in:
parent
1fc19dbbaf
commit
2916dc3423
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ pub struct FileState {
|
|||
|
||||
impl FileState {
|
||||
#[cfg_attr(unix, allow(dead_code))]
|
||||
fn is_executable(&mut self) -> bool {
|
||||
fn is_executable(&self) -> bool {
|
||||
if let FileType::Normal { executable } = &self.file_type {
|
||||
*executable
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue