Skip to content

Commit 26c451c

Browse files
tsingluacarbolymer
authored andcommitted
chore: fix some minor issues in the comments
Signed-off-by: tsinglua <tsinglua@outlook.com>
1 parent feebf16 commit 26c451c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

cardano-node-capi/src/Node.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Foreign.Marshal.Array (peekArray)
1313
import Foreign.Ptr (Ptr)
1414

1515
-- | @crunNode@ is an exported C entry point to start a node.
16-
-- We parese the same arguments as the node CLI, but allow to
16+
-- We parse the same arguments as the node CLI, but allow to
1717
-- pass the arguments as @char *argv[]@ from C.
1818
foreign export ccall "runNode" crunNode :: Int -> Ptr CString -> IO ()
1919
crunNode :: Int -> Ptr CString -> IO ()

trace-dispatcher/src/Cardano/Logging/Consistency.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ newtype NSLookup = NSLookup (Map.Map T.Text NSLookup)
2121

2222

2323
-- | Checks if all namespaces in this configuration are legal.
24-
-- Legal in this case means that it can be found by a hierarchcical
24+
-- Legal in this case means that it can be found by a hierarchical
2525
-- lookup in all namespaces.
2626
-- Warns if namespaces in all namespaces are not unique,
2727
-- Warns if namespaces in all namespaces are ending in the
2828
-- middle of another namespace.
2929
-- The namespaces in allNamespaces are consistent with the namespaces for the
30-
-- severityFor, privacyFor, detailsFor, documentFor and metricsDofFor functions.
30+
-- severityFor, privacyFor, detailsFor, documentFor and metricsDocFor functions.
3131
checkTraceConfiguration ::
3232
FilePath
3333
-> TraceConfig
@@ -54,7 +54,7 @@ checkTraceConfiguration' trConfig allNamespaces' =
5454
in allWarnings
5555

5656
-- | Check if a single namespace is legal. Legal in this case means that
57-
-- it can be found by a hierarchcical lookup in all namespaces
57+
-- it can be found by a hierarchical lookup in all namespaces
5858
checkNamespace :: NSLookup -> [T.Text] -> Maybe T.Text
5959
checkNamespace nsLookup ns = go nsLookup ns
6060
where

trace-dispatcher/src/Cardano/Logging/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ data SeverityS
284284

285285
-- | Severity for a filter
286286
-- Nothing means don't show anything (Silence)
287-
-- Nothing level means show messages with severity >= level
287+
-- Just level means show messages with severity >= level
288288
newtype SeverityF = SeverityF (Maybe SeverityS)
289289
deriving stock Eq
290290

0 commit comments

Comments
 (0)