Skip to content

Commit

Permalink
more spell checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalvarezl committed Sep 30, 2024
1 parent 314dc75 commit d148db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async fn main() {
.await
.unwrap();

// this pins the stream to the stack so it is safe to poll it (namely, it won't be de-alloacted or moved)
// this pins the stream to the stack so it is safe to poll it (namely, it won't be de-allocated or moved)
futures::pin_mut!(response);

while let Some(result) = response.next().await {
Expand Down
2 changes: 1 addition & 1 deletion sdk/openai/inference/examples/chat_completions_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async fn main() {
.await
.unwrap();

// this pins the stream to the stack so it is safe to poll it (namely, it won't be de-alloacted or moved)
// this pins the stream to the stack so it is safe to poll it (namely, it won't be de-allocated or moved)
futures::pin_mut!(response);

while let Some(result) = response.next().await {
Expand Down

0 comments on commit d148db8

Please sign in to comment.