Fix doctests

This commit is contained in:
Niko 2024-01-08 14:55:00 -07:00
parent 249b7321c9
commit bdf1862d5b
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B

View file

@ -593,6 +593,7 @@ impl<'a, 'b> FullParams<'a, 'b> {
///
/// # Examples
/// ```
/// # use whisper_rs::{FullParams, SamplingStrategy};
/// let mut params = FullParams::new(SamplingStrategy::default());
/// params.set_initial_prompt("Hello, world!");
/// // ... further usage of params ...