]> git.proxmox.com Git - proxmox.git/commitdiff
rest: example: fix comment width
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 09:57:51 +0000 (11:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 09:57:51 +0000 (11:57 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-rest-server/examples/minimal-rest-server.rs

index 9bb03402d3ff8aa182beda1735fd3fe1ad42998a..800677876572d0f6811e556aab489f3cbd71f4ad 100644 (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| {