From 3ce53ab9eddd397d57b6afc5faefe6703e56ac26 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Fri, 21 Sep 2018 17:35:16 -0700 Subject: [PATCH] tools/gen-wire: 3th -> 3rd Small grammar fix in wire gen tool --- tools/generate-wire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate-wire.py b/tools/generate-wire.py index e2801c5ad..04e68f4bd 100755 --- a/tools/generate-wire.py +++ b/tools/generate-wire.py @@ -401,7 +401,7 @@ class Message(object): .format(f.name, f.name, f.fieldtype.name, basetype, f.name)) elif f.is_assignable(): - subcalls.append("//3th case {name}".format(name=f.name)) + subcalls.append("//3rd case {name}".format(name=f.name)) if f.is_len_var: subcalls.append('{} = fromwire_{}(&cursor, &plen);' .format(f.name, basetype))