File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -663,28 +663,6 @@ impl RustTy {
663
663
other => quote ! { -> #other } ,
664
664
}
665
665
}
666
-
667
- pub fn is_pass_by_ref ( & self ) -> bool {
668
- matches ! (
669
- self ,
670
- RustTy :: BuiltinIdent {
671
- arg_passing: ArgPassing :: ByRef ,
672
- ..
673
- } | RustTy :: BuiltinArray { .. }
674
- | RustTy :: EngineArray { .. }
675
- )
676
- }
677
-
678
- pub fn needs_lifetime ( & self ) -> bool {
679
- matches ! (
680
- self ,
681
- RustTy :: BuiltinIdent {
682
- arg_passing: ArgPassing :: ByRef | ArgPassing :: ImplAsArg ,
683
- ..
684
- } | RustTy :: BuiltinArray { .. }
685
- | RustTy :: EngineArray { .. }
686
- )
687
- }
688
666
}
689
667
690
668
impl ToTokens for RustTy {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use crate::classes::Node;
12
12
use crate :: meta:: { AsArg , ToGodot } ;
13
13
use crate :: { arg_into_ref, dict} ;
14
14
15
- /// Configuration for a remote procedure call, typically used with `#[rpc(config = ...)]`.
15
+ /// Configuration for a remote procedure call, used with `#[rpc(config = ...)]`.
16
16
///
17
17
/// See [Godot documentation](https://docs.godotengine.org/en/stable/tutorials/networking/high_level_multiplayer.html#remote-procedure-calls).
18
18
#[ derive( Copy , Clone , Debug ) ]
You can’t perform that action at this time.
0 commit comments