From 6404d50e9ec4fe24d104df223cb6c3ceb2b33227 Mon Sep 17 00:00:00 2001 From: Oleksandr Kylymnychenko Date: Mon, 22 Aug 2022 12:24:47 +0200 Subject: [PATCH] doc: add few verbs and punctuation --- 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,