]> git.lizzy.rs Git - rust.git/commit
Auto merge of #84842 - blkerby:null_lowercase, r=joshtriplett
authorbors <bors@rust-lang.org>
Mon, 3 May 2021 05:41:23 +0000 (05:41 +0000)
committerbors <bors@rust-lang.org>
Mon, 3 May 2021 05:41:23 +0000 (05:41 +0000)
commit2428cc48167ac62019814d7f80c306424ab9fa93
tree590c990f489ced3823b61af15862281165d84a3d
parent59f551a2dcf57c0d3d96ac5ef60e000524210469
parent6679f5ceb1bd367050bb69b239d94d6213696336
Auto merge of #84842 - blkerby:null_lowercase, r=joshtriplett

Replace 'NULL' with 'null'

This replaces occurrences of "NULL" with "null" in docs, comments, and compiler error/lint messages. This is for the sake of consistency, as the lowercase "null" is already the dominant form in Rust. The all-caps NULL looks like the C macro (or SQL keyword), which seems out of place in a Rust context, given that NULL does not exist in the Rust language or standard library (instead having [`ptr::null()`](https://doc.rust-lang.org/stable/std/ptr/fn.null.html)).