Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relay: Use SliceRandom::shuffle. #722

Merged
merged 1 commit into from
Dec 4, 2018

Conversation

twittner
Copy link
Contributor

@twittner twittner commented Dec 4, 2018

Fixes deprecation warning related to Rng::shuffle which recommends SliceRandom::shuffle instead.

Fixes deprecation warning related to `Rng::shuffle` which recommends
`SliceRandom::shuffle` instead.
@ghost ghost assigned twittner Dec 4, 2018
@ghost ghost added the in progress label Dec 4, 2018
@twittner twittner merged commit 7305589 into libp2p:master Dec 4, 2018
@ghost ghost removed the in progress label Dec 4, 2018
@twittner twittner deleted the rm-rand-deprecation branch December 4, 2018 10:54
dvdplm added a commit to dvdplm/rust-libp2p that referenced this pull request Dec 6, 2018
* upstream/master:
  Rename all the network behaviours to more basic names (libp2p#726)
  Avoid some warnings. (libp2p#733)
  Add error messages for interrupt (libp2p#704)
  Remove relay, peerstore and datastore (libp2p#723)
  Don't add an address to the topology if it is already in (libp2p#724)
  Add a few more methods to Swarm and PollParameters (libp2p#721)
  Some changes to the main libp2p doc (libp2p#710)
  Don't wrap yamux::Connection in a mutex (libp2p#719)
  relay: Use `SliceRandom::shuffle`. (libp2p#722)
  Remove some boxed futures. (libp2p#718)
  Fix several errors reported by clippy. (libp2p#715)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants