[docs] Fix small typo in code example for Function

Change-Id: Ia762b823c51724229c0eb452a02885ff0f8bc7af
CoreLibraryReviewExempt: Changes documentation only.
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/299140
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Auto-Submit: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Lasse Nielsen <lrn@google.com>
This commit is contained in:
Nicholas Shahan 2023-04-27 17:07:38 +00:00 committed by Commit Queue
parent 9d0781bd9b
commit a7854364a6

View file

@ -95,7 +95,7 @@ part of dart.core;
/// ```dart
/// Function fun = (int x) => "$x";
///
/// var fun2 = f.call; // Inferred type of `fun2` is `Function`.
/// var fun2 = fun.call; // Inferred type of `fun2` is `Function`.
///
/// print(fun2.call(1)); // Prints "1";
///