forked from 1b-agent/opencadstudio-upstream
fix(workspace): resolve clippy warnings in ocs_plugin_api and ocs_doc_api
This commit is contained in:
1 parent
822b0afce5
commit
6e01d464e5
4 files changed
+14
-19
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user