• J
    Fix -Z unpretty=everybody_loops · 95f8daa8
    Joshua Nelson 提交于
    It turns out that this has not been working for who knows how long.
    Previously:
    
    ```
    pub fn h() { 1 + 2; }
    ```
    
    After this change:
    
    ```
    pub fn h() { loop {} }
    ```
    
    This only affected the pass when run with the command line
    pretty-printing option, so rustdoc was still replacing bodies with
    `loop {}`.
    95f8daa8
lib.rs 43.8 KB