rest: example: fix comment width

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-12 11:57:51 +02:00
parent 42fb291c7c
commit 08982a3746
1 changed files with 2 additions and 4 deletions

View File

@ -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| {