a few more clippy lints addressed
[?]
Nov 30, 2020, 3:55 PM
H23LO7U7MNB5GTLOUIFYAJ6DP57DM3VFBR4IBOAVPMHS356AYFPQCDependencies
- [2]
NLGQAH4HCredit and reset relative to current directory instead of the root - [3]
ISQJRA3OFixing the parsing of zombie resurrection in the change text format - [4]
3YDPHBANaddress non-controversial clippy lints - [5]
GLMOA3PFMore edges in "credit" - [6]
I52XSRUHMassive cleanup, and simplification - [7]
OAXTXEAFcommands/pushpull: display dependencies of change - [8]
KVBLRDOUConcatenating edits with order conflict resolutions (if relevant), and parsing the text format of the result - [9]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [10]
IMCZFTIJUpdate selection instructions to also mention pushing
Change contents
- replacement in pijul/src/commands/pushpull.rs at line 476
writeln!(v, "").unwrap();writeln!(v).unwrap(); - replacement in pijul/src/commands/credit.rs at line 109
write!(self.w, "\n")?;writeln!(self.w)?; - replacement in pijul/src/commands/credit.rs at line 111
write!(self.w, "\n")?;writeln!(self.w)?; - replacement in libpijul/src/working_copy/memory.rs at line 134
let mut it = file.split('/').filter(|c| !c.is_empty());while let Some(c) = it.next() {let it = file.split('/').filter(|c| !c.is_empty());for c in it { - edit in libpijul/src/working_copy/memory.rs at line 232
}None => {return Err((crate::Error::FileNotFound {path: file.to_string(),}).into()) - edit in libpijul/src/working_copy/memory.rs at line 233
None => Err((crate::Error::FileNotFound {path: file.to_string(),}).into()), - replacement in libpijul/src/tests/conflict.rs at line 1610
for (n, p) in (&p_alice[1..]).into_iter().enumerate() {for (n, p) in (&p_alice[1..]).iter().enumerate() { - replacement in libpijul/src/pristine/sanakirja.rs at line 554
self.open_channels.borrow().get(&name).map(|x| x.clone())self.open_channels.borrow().get(&name).cloned() - replacement in libpijul/src/pristine/sanakirja.rs at line 581
self.open_remotes.borrow().get(&name).map(|x| x.clone())self.open_remotes.borrow().get(&name).cloned() - replacement in libpijul/src/pristine/sanakirja.rs at line 726
self.open_remotes.borrow().get(&name).map(|x| x.clone())self.open_remotes.borrow().get(&name).cloned() - replacement in libpijul/src/pristine/sanakirja.rs at line 736
.filter(|(k, _)| *k >= n).next().find(|(k, _)| *k >= n) - replacement in libpijul/src/pristine/channel_dump.rs at line 397
e.flag = e.flag ^ EdgeFlags::PARENT;e.flag ^= EdgeFlags::PARENT; - replacement in libpijul/src/change.rs at line 1753
writeln!(w, "")?;writeln!(w)?; - replacement in libpijul/src/change.rs at line 1764
writeln!(w, "")?;writeln!(w)?; - replacement in libpijul/src/change.rs at line 1793
writeln!(w, "")?;writeln!(w)?; - replacement in libpijul/src/change.rs at line 1804
writeln!(w, "")?;writeln!(w)?; - replacement in libpijul/src/change.rs at line 1815
writeln!(w, "")?;writeln!(w)?;