lib/ordered_tree: adapt OrderedTree to Streamable
[nit.git] / src / metrics / nullables_metrics.nit
index 70b709f..d788260 100644 (file)
@@ -44,7 +44,7 @@ private class NullableSends
        var nullable_sends: Int = 0
        var buggy_sends: Int = 0
 
-       # Get a new visitor on a classef to add type count in `typecount'.
+       # Get a new visitor on a classef to add type count in `typecount`.
        init(modelbuilder: ModelBuilder, nclassdef: AClassdef)
        do
                self.modelbuilder = modelbuilder
@@ -76,7 +76,7 @@ end
 # Visit the AST and print metrics about the usage of send on nullable reciever.
 fun compute_nullables_metrics(modelbuilder: ModelBuilder)
 do
-       print "--- Sends on Nullable Reciever ---"
+       print "--- Sends on Nullable Receiver ---"
        var total_sends = 0
        var nullable_sends = 0
        var buggy_sends = 0