@@ -787,9 +787,9 @@ abstract class Rx {
787787 ///
788788 /// ### Example
789789 ///
790- /// Rx.range(1, 3).listen((i) => print(i); // Prints 1, 2, 3
790+ /// Rx.range(1, 3).listen((i) => print(i)) ; // Prints 1, 2, 3
791791 ///
792- /// Rx.range(3, 1).listen((i) => print(i); // Prints 3, 2, 1
792+ /// Rx.range(3, 1).listen((i) => print(i)) ; // Prints 3, 2, 1
793793 static Stream <int > range (int startInclusive, int endInclusive) =>
794794 RangeStream (startInclusive, endInclusive);
795795
@@ -803,7 +803,7 @@ abstract class Rx {
803803 ///
804804 /// RepeatStream((int repeatCount) =>
805805 /// Stream.value('repeat index: $repeatCount'), 3)
806- /// .listen((i) => print(i); // Prints 'repeat index: 0, repeat index: 1, repeat index: 2'
806+ /// .listen((i) => print(i)) ; // Prints 'repeat index: 0, repeat index: 1, repeat index: 2'
807807 static Stream <T > repeat <T >(Stream <T > Function (int repeatIndex) streamFactory,
808808 [int ? count]) =>
809809 RepeatStream <T >(streamFactory, count);
@@ -946,7 +946,7 @@ abstract class Rx {
946946 /// ### Example
947947 ///
948948 /// Rx.timer('hi', Duration(minutes: 1))
949- /// .listen((i) => print(i); // print 'hi' after 1 minute
949+ /// .listen((i) => print(i)) ; // print 'hi' after 1 minute
950950 static Stream <T > timer <T >(T value, Duration duration) =>
951951 TimerStream <T >(value, duration);
952952
0 commit comments