Skip to content

Commit a1006ce

Browse files
committed
fix doc compilation errors
1 parent d8ba83e commit a1006ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

rustsynth/src/filter/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl FilterMode {
9898

9999
/// A filter’s “getframe” function. It is called by the core when it needs the filter to generate a frame.
100100
/// It is possible to allocate local data, persistent during the multiple calls requesting the output frame.
101-
/// In case of error, call [setFilterError] and return [None].
101+
/// In case of error, call setFilterError and return [None].
102102
/// Depending on the [FilterMode] set for the filter, multiple output frames could be requested concurrently.
103103
/// It is never called concurrently for the same frame number.
104104
///

rustsynth/src/vsscript/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ impl ScriptAPI {
6565
}
6666
}
6767

68+
#[allow(unused)]
6869
pub(crate) fn get_api_version(&self) -> i32 {
6970
unsafe { self.handle.as_ref().getAPIVersion.unwrap()() }
7071
}

0 commit comments

Comments
 (0)