Skip to content

Instantly share code, notes, and snippets.

@nagisa
Created May 24, 2015 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nagisa/cf235502277ffaaffe1d to your computer and use it in GitHub Desktop.
Save nagisa/cf235502277ffaaffe1d to your computer and use it in GitHub Desktop.
src/net.rs:99:34: 99:53 error: type `&net::Host` does not implement any method in scope named `update_tables`
src/net.rs:99 self.update_tables(c, p);
^~~~~~~~~~~~~~~~~~~
src/net.rs:99:34: 99:53 note: found defined static methods, maybe a `self` is missing?
src/net.rs:157:5: 159:6 note: candidate #1 is defined in an impl for the type `net::Host`
src/net.rs:157 fn update_tables(source: IP, packet: &RIPv1Packet) {
src/net.rs:158
src/net.rs:159 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment