Skip to content
Snippets Groups Projects

Rust fun 17122020

Merged George Kadianakis requested to merge asn/arti:rust_fun_17122020 into main
2 unresolved threads

Did some hacking with David and Alex. Here are the results!

Edited by George Kadianakis

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
617 617 async fn handle_sendme(&mut self, hopnum: HopNum, msg: Sendme) -> Result<()> {
618 618 // No need to call "shutdown" on errors in this function;
619 619 // it's called from the reactor task and errors will propagate there.
620 let hop = self.hop_mut(hopnum).unwrap(); // XXXX risky
620 let hop = self.hop_mut(hopnum).ok_or(Error::CircProto(
  • assigned to @nickm

  • Nick Mathewson
    Nick Mathewson @nickm started a thread on commit e4594810
  • 617 617 async fn handle_sendme(&mut self, hopnum: HopNum, msg: Sendme) -> Result<()> {
    618 618 // No need to call "shutdown" on errors in this function;
    619 619 // it's called from the reactor task and errors will propagate there.
    620 let hop = self.hop_mut(hopnum).unwrap(); // XXXX risky
    620 let hop = self.hop_mut(hopnum).ok_or(Error::CircProto(
    621 format!("Couldn't find {} hop", hopnum).into(),
  • looks okay; I'm fixing up the issue spotted by clippy.

  • Please register or sign in to reply
    Loading