summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPatrick Little <plittle@gmail.com>2026-01-28 16:33:12 -0600
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-30 20:23:01 +0100
commit1c7442d10b031ace1b7f4902af48bdca465ca25f (patch)
tree9b3428dfe4c73b5ff0f6da5e7441a781d0aba67a /rust/alloc/collections/git@git.tavy.me:linux.git
parente79eec6ca1f5a3dbd804b73fd313b3fe455df4f3 (diff)
PM: EM: Documentation: Fix bug in example code snippet
A semicolon was mistakenly placed at the end of 'if' statements. If example is copied as-is, it would lead to the subsequent return being executed unconditionally, which is incorrect, and the rest of the function would never be reached. Signed-off-by: Patrick Little <plittle@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> [ rjw: Subject adjustment ] Link: https://patch.msgid.link/20260128-documentation-fix-grammar-v1-2-39238dc471f9@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions