Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Jun 24, 2024
1 parent 3121b97 commit 5bb63ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions crates/bitwarden/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ Rust **1.71** or higher.

```rust
use bitwarden::{
auth::login::AccessTokenLoginRequest, error::Result,
secrets_manager::secrets::SecretIdentifiersRequest, Client, ClientSettings, DeviceType,
auth::login::AccessTokenLoginRequest,
error::Result,
secrets_manager::{secrets::SecretIdentifiersRequest, ClientSecretsExt},
Client, ClientSettings, DeviceType,
};
use uuid::Uuid;

Expand Down
14 changes: 7 additions & 7 deletions crates/bitwarden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
//! All operations in this crate are done via a [Client]:
//!
//! ```rust
//! use bitwarden::{
//! auth::login::AccessTokenLoginRequest,
//! error::Result,
//! secrets_manager::{secrets::SecretIdentifiersRequest, ClientSecretsExt},
//! Client, ClientSettings, DeviceType,
//! };
//! use uuid::Uuid;
//! use bitwarden::{
//! auth::login::AccessTokenLoginRequest,
//! error::Result,
//! secrets_manager::{secrets::SecretIdentifiersRequest, ClientSecretsExt},
//! Client, ClientSettings, DeviceType,
//! };
//! use uuid::Uuid;
//!
//! async fn test() -> Result<()> {
//! // Use the default values
Expand Down

0 comments on commit 5bb63ef

Please sign in to comment.