From cd295016c8a073e2bb78332f06ab077f24e2d3b9 Mon Sep 17 00:00:00 2001 From: Aram Peres Date: Sat, 31 Jul 2021 08:47:50 -0400 Subject: [PATCH] Improve wording --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dbf4c28..858352c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The [rupsc](https://github.com/aramperes/nut-client-rs/tree/master/rupsc) CLI is written using this library, and is a clone of NUT's built-in [upsc](https://networkupstools.org/docs/man/upsc.html) tool. -Here is an example use of this library (`cargo run --example blocking`): +Below is a sample program using this library (`cargo run --example blocking`). ```rust use std::env; @@ -82,9 +82,9 @@ fn main() -> nut_client::Result<()> { ## SSL -You can turn on SSL support by adding `.with_ssl(true)` in the `ConfigBuilder`. -This requires the `ssl` feature, which uses `rustls` under the hood. +You can turn on SSL support by adding `.with_ssl(true)` in the `ConfigBuilder`. This requires the `ssl` feature, which +uses `rustls` under the hood. -Note that this crate turns off all certificate validation at the moment, effectively -giving a false sense of security. If you'd like to contribute to this, see issue #8. +Note that this crate turns off all certificate validation at the moment, effectively giving a false sense of security. +If you'd like to contribute to this, see issue #8.