diff --git a/godot-macros/src/util/mod.rs b/godot-macros/src/util/mod.rs index e1f5ba66d..17c6375c6 100644 --- a/godot-macros/src/util/mod.rs +++ b/godot-macros/src/util/mod.rs @@ -327,7 +327,7 @@ pub fn make_function_registered_name_constants( funcs .iter() .map(|func| { - // the constant needs the same #[cfg] attribute(s) as the function, so that it is only active if the function is also active. + // The constant needs the same #[cfg] attribute(s) as the function, so that it is only active if the function is also active. let cfg_attributes = extract_cfg_attrs(&func.external_attributes) .into_iter() .collect::>(); @@ -344,8 +344,6 @@ pub fn make_function_registered_name_constants( /// Funcs can be renamed with `#[func(rename=new_name) fn f();`. /// To be able to access the renamed function name at a later point, it is saved in a string constant. -/// This would create the following code for `f`: -/// ``pub const __gdext_func_{class_name}_f: &str = "new_name";`` pub fn make_function_registered_name_constant( class_name: &Ident, func_name: &Ident,