fix(workspace): resolve clippy warnings in ocs_plugin_api and ocs_doc_api

This commit is contained in:
Karim Jerbi committed 2026-09-07 14:52:58 +01:00
1 parent 822b0afce5
commit 6e01d464e5
4 files changed
+14 -19

No files matched your search

+5 -2
View File
@@ -746,10 +746,13 @@ mod repl {
error: Option<String>,
error_type: Option<String>,
traceback: Option<String>,
line_number: Option<u32>,
column_number: Option<u32>,
position: Option<(u32, u32)>,
duration_ms: f64,
) -> Self {
let (line_number, column_number) = match position {
Some((l, c)) => (Some(l), Some(c)),
None => (None, None),
};
Self {
success,
output,