Skip to content

Commit

Permalink
tweaked comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Jan 30, 2025
1 parent 292fd2a commit 468b42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftGodot/MacroDefs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public macro NativeHandleDiscarding() = #externalMacro(module: "SwiftGodotMacroL
/// }
/// ```
///
/// - Important: This property will become a computed property, and it cannot be reassigned later.
/// The generated property will be computed, and therefore read-only.
@attached(accessor)
public macro SceneTree(path: String? = nil) = #externalMacro(module: "SwiftGodotMacroLibrary", type: "SceneTreeMacro")

Expand All @@ -229,7 +229,7 @@ public macro SceneTree(path: String? = nil) = #externalMacro(module: "SwiftGodot
/// If you declare the property as optional, the property will be `nil` if the node is missing.
/// If you declare the property as non-optional, or forced-unwrap, it will be a runtime error for the node to be missing.
///
/// - Important: This property will become a computed property, and it cannot be reassigned later.
/// The generated property will be computed, and therefore read-only.
@attached(accessor)
public macro Node(_ path: String? = nil, required: Bool = true) = #externalMacro(module: "SwiftGodotMacroLibrary", type: "SceneTreeMacro")

Expand Down

0 comments on commit 468b42b

Please sign in to comment.