Merge pull request #59 from tomaka/plain-text-rename

Rename PlainText to PlainTextConfig
This commit is contained in:
Robert Habermeier
2017-12-06 12:15:23 +01:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ fn main() {
let tcp = TcpConfig::new(core.handle());
let with_secio = tcp
.with_upgrade(swarm::PlainText)
.with_upgrade(swarm::PlainTextConfig)
.or_upgrade({
let private_key = {
let pkcs8 = include_bytes!("test-private-key.pk8");