From d51475123eedbdd63d66c583203fb664271dbd50 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 12 May 2022 11:57:51 +0200 Subject: [PATCH] rest: example: fix comment width Signed-off-by: Thomas Lamprecht --- proxmox-rest-server/examples/minimal-rest-server.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/proxmox-rest-server/examples/minimal-rest-server.rs b/proxmox-rest-server/examples/minimal-rest-server.rs index 9bb03402..80067787 100644 --- a/proxmox-rest-server/examples/minimal-rest-server.rs +++ b/proxmox-rest-server/examples/minimal-rest-server.rs @@ -55,8 +55,7 @@ impl ServerAdapter for MinimalServer { }) } - // this should return the index page of the webserver - // iow. what the user browses to + // this should return the index page of the webserver, iow. what the user browses to fn get_index( &self, _env: RestEnvironment, @@ -208,8 +207,7 @@ async fn run() -> Result<(), Error> { )?; let rest_server = RestServer::new(config); - // then we have to create a daemon that listens, accepts and serves - // the api to clients + // then we have to create a daemon that listens, accepts and serves the api to clients proxmox_rest_server::daemon::create_daemon( ([127, 0, 0, 1], 65000).into(), move |listener| {