Skip to content

Commit 098f77b

Browse files
committed
feat: same name as its containing module
1 parent 59a720c commit 098f77b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/chat_completion_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
4141
Ok(())
4242
}
4343

44-
// OPENAI_API_KEY=xxxx cargo run --package openai-api-rs --example chat_completion
44+
// OPENAI_API_KEY=xxxx cargo run --package openai-api-rs --example chat_completion_stream

src/v1/chat_completion/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use serde::ser::SerializeMap;
44
use serde::{Deserialize, Deserializer, Serialize, Serializer};
55
use std::fmt;
66

7+
#[allow(clippy::module_inception)]
78
pub mod chat_completion;
89
pub mod chat_completion_stream;
910

0 commit comments

Comments
 (0)