Skip to content

Commit 86b14a3

Browse files
authored
Remove new keyword from example, use final (#1076)
1 parent 08b0294 commit 86b14a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ API for formatting code. Simple usage looks like this:
113113
import 'package:dart_style/dart_style.dart';
114114
115115
main() {
116-
var formatter = new DartFormatter();
116+
final formatter = DartFormatter();
117117
118118
try {
119119
print(formatter.format("""

0 commit comments

Comments
 (0)