From a9f81cb3a619b9b5c2a40790284e70bd871555bf Mon Sep 17 00:00:00 2001 From: Oleksandr Date: Thu, 1 Sep 2022 11:35:23 +0200 Subject: [PATCH] doc: add few verbs and punctuation (#496) --- sentry/src/init.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sentry/src/init.rs b/sentry/src/init.rs index 4b54eb10..befb66fd 100644 --- a/sentry/src/init.rs +++ b/sentry/src/init.rs @@ -41,12 +41,12 @@ impl Drop for ClientInitGuard { /// Creates the Sentry client for a given client config and binds it. /// -/// This returns a client init guard that must kept in scope will help the -/// client send events before the application closes. When the guard is -/// dropped then the transport that was initialized shuts down and no +/// This returns a client init guard that must be kept in scope and that will help the +/// client send events before the application closes. When the guard is +/// dropped, then the transport that was initialized shuts down and no /// further events can be sent on it. /// -/// If you don't want (or can) keep the guard around it's permissible to +/// If you don't want (or can not) keep the guard around, it's permissible to /// call `mem::forget` on it. /// /// # Examples @@ -87,7 +87,7 @@ impl Drop for ClientInitGuard { /// /// This will panic when the provided DSN is invalid. /// If you want to handle invalid DSNs you need to parse them manually by -/// calling `parse` on it and handle the error. +/// calling `parse` on each of them and handle the error. pub fn init(opts: C) -> ClientInitGuard where C: Into,