Skip to content

Commit 0d38f83

Browse files
committed
docs: fix formatting issues in extensions documentation
1 parent 007eec8 commit 0d38f83

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/dart_node_core/lib/src/extensions.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/// Functional programming extensions for nullable and non-null types.
22
///
3-
/// Provides pattern matching and transformation utilities inspired by
3+
/// Provides pattern matching and transformation utilities inspired by
44
/// functional programming languages like Kotlin and Rust.
55
library;
66

7-
/// Extension methods for nullable values enabling pattern matching and
7+
/// Extension methods for nullable values enabling pattern matching and
88
/// functional transformations.
99
///
1010
/// Example:
1111
/// ```dart
1212
/// String? getName() => 'World';
13-
///
13+
///
1414
/// final greeting = getName().match(
1515
/// some: (name) => 'Hello, $name!',
1616
/// none: () => 'Hello, stranger!',
@@ -31,7 +31,7 @@ extension NullableExtensions<T extends Object> on T? {
3131
/// Example:
3232
/// ```dart
3333
/// int? maybeNumber = 42;
34-
///
34+
///
3535
/// final result = maybeNumber.match(
3636
/// some: (n) => 'Number: $n',
3737
/// none: () => 'No number',
@@ -63,7 +63,7 @@ extension ObjectExtensions<T extends Object> on T {
6363
/// final length = 'hello world'
6464
/// .let((s) => s.split(' '))
6565
/// .let((words) => words.length); // Returns: 2
66-
///
66+
///
6767
/// // Instead of:
6868
/// final text = 'hello world';
6969
/// final words = text.split(' ');

0 commit comments

Comments
 (0)