Skip to content

Commit 4901164

Browse files
committed
fix: Fix typo in doc examples
1 parent 2e50a32 commit 4901164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry-log/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ```
1111
//! let log_integration = sentry_log::LogIntegration::default();
12-
//! let _setry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));
12+
//! let _sentry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));
1313
//!
1414
//! log::info!("Generates a breadcrumb");
1515
//! ```
@@ -21,7 +21,7 @@
2121
//! log_builder.parse_filters("info");
2222
//! let log_integration =
2323
//! sentry_log::LogIntegration::default().with_env_logger_dest(Some(log_builder.build()));
24-
//! let _setry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));
24+
//! let _sentry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));
2525
//!
2626
//! log::error!("Generates an event");
2727
//! ```

0 commit comments

Comments
 (0)