Skip to content

Commit

Permalink
Doctest: get_method_argument_count() is required since 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Aug 16, 2024
1 parent 99dd3ab commit d1e2468
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions godot-core/src/obj/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ impl<'a, T: ScriptInstance> SiMut<'a, T> {
/// # fn on_refcount_incremented(&self) { todo!() }
/// # fn property_get_fallback(&self, _: StringName) -> Option<Variant> { todo!() }
/// # fn property_set_fallback(_: SiMut<'_, Self>, _: StringName, _: &Variant) -> bool { todo!() }
/// # fn get_method_argument_count(&self, _: StringName) -> Option<u32> { todo!() }
/// }
/// ```
pub fn base(&self) -> ScriptBaseRef<T> {
Expand Down Expand Up @@ -463,6 +464,7 @@ impl<'a, T: ScriptInstance> SiMut<'a, T> {
/// # fn on_refcount_incremented(&self) { todo!() }
/// # fn property_get_fallback(&self, _: StringName) -> Option<Variant> { todo!() }
/// # fn property_set_fallback(_: SiMut<'_, Self>, _: StringName, _: &Variant) -> bool { todo!() }
/// # fn get_method_argument_count(&self, _: StringName) -> Option<u32> { todo!() }
/// }
/// ```
pub fn base_mut(&mut self) -> ScriptBaseMut<T> {
Expand Down

0 comments on commit d1e2468

Please sign in to comment.