Skip to content

Commit

Permalink
fixup! into/to correctness for PublicKey -> PeerId
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jul 17, 2021
1 parent 53eea7f commit 47f3666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/relay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
//! #
//! # let local_key = identity::Keypair::generate_ed25519();
//! # let local_public_key = local_key.public();
//! # let local_peer_id = local_public_key.into_peer_id();
//! # let local_peer_id = local_public_key.to_peer_id();
//! # let plaintext = PlainText2Config {
//! # local_public_key: local_public_key.clone(),
//! # };
Expand Down

0 comments on commit 47f3666

Please sign in to comment.