We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f47818 commit cd8b3e4Copy full SHA for cd8b3e4
godot-core/src/builtin/callable.rs
@@ -282,7 +282,7 @@ impl Callable {
282
/// # use godot::prelude::*;
283
/// let callable = Callable::from_sync_fn("sum", |args: &[&Variant]| {
284
/// let sum: i32 = args.iter().map(|arg| arg.to::<i32>()).sum();
285
- /// Ok(sum.to_variant())
+ /// sum
286
/// });
287
/// ```
288
#[cfg(feature = "experimental-threads")]
0 commit comments