Skip to content

fix: resolve Clippy issues #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/workos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl WorkOs {
}

/// Returns a [`WorkOsBuilder`] that may be used to construct a WorkOS client.
pub fn builder(key: &ApiKey) -> WorkOsBuilder {
pub fn builder(key: &ApiKey) -> WorkOsBuilder<'_> {
WorkOsBuilder::new(key)
}

Expand All @@ -41,37 +41,37 @@ impl WorkOs {
}

/// Returns an [`AdminPortal`] instance.
pub fn admin_portal(&self) -> AdminPortal {
pub fn admin_portal(&self) -> AdminPortal<'_> {
AdminPortal::new(self)
}

/// Returns a [`DirectorySync`] instance.
pub fn directory_sync(&self) -> DirectorySync {
pub fn directory_sync(&self) -> DirectorySync<'_> {
DirectorySync::new(self)
}

/// Returns an [`Mfa`] instance.
pub fn mfa(&self) -> Mfa {
pub fn mfa(&self) -> Mfa<'_> {
Mfa::new(self)
}

/// Returns an [`Organizations`] instance.
pub fn organizations(&self) -> Organizations {
pub fn organizations(&self) -> Organizations<'_> {
Organizations::new(self)
}

/// Returns a [`Passwordless`] instance.
pub fn passwordless(&self) -> Passwordless {
pub fn passwordless(&self) -> Passwordless<'_> {
Passwordless::new(self)
}

/// Returns an [`Sso`] instance.
pub fn sso(&self) -> Sso {
pub fn sso(&self) -> Sso<'_> {
Sso::new(self)
}

/// Returns a [`UserManagement`] instance.
pub fn user_management(&self) -> UserManagement {
pub fn user_management(&self) -> UserManagement<'_> {
UserManagement::new(self)
}
}
Expand Down
Loading