mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update DifferentiableProgrammingImplementation.md
This commit is contained in:
@@ -220,7 +220,7 @@ Swift supports ergonomic implicit function conversions:
|
||||
|
||||
```swift
|
||||
// Takes a differentiable function argument.
|
||||
func f(_ x: @differentiable (Float) -> Float) {}
|
||||
func f(_ x: @differentiable (Float) -> Float) { }
|
||||
|
||||
// Calling `f` with a function declaration reference triggers an implicit
|
||||
// `@differentiable` function type conversion.
|
||||
|
||||
Reference in New Issue
Block a user