Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanChimienti committed Jan 13, 2025
1 parent efe546c commit 640b8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl<'a> From<&'a Deepgram> for Speak<'a> {
}
}

impl<'a> Transcription<'a> {
impl Transcription<'_> {
/// Expose a method to access the inner `Deepgram` reference if needed.
pub fn deepgram(&self) -> &Deepgram {
self.0
Expand Down
3 changes: 1 addition & 2 deletions src/listen/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ impl Transcription<'_> {
///
/// assert_eq!(&builder.urlencoded().unwrap(), "model=nova-2&detect_language=true&no_delay=true")
/// ```
pub fn stream_request_with_options(&self, options: Options) -> WebsocketBuilder<'_> {
WebsocketBuilder {
deepgram: self.0,
Expand Down Expand Up @@ -166,7 +165,7 @@ impl Transcription<'_> {
}
}

impl<'a> WebsocketBuilder<'a> {
impl WebsocketBuilder<'_> {
/// Return the options in urlencoded format. If serialization would
/// fail, this will also return an error.
///
Expand Down

0 comments on commit 640b8ae

Please sign in to comment.