{"push_id":687766088,"size":2,"distinct_size":0,"ref":"refs/heads/auto","head":"dcc59c09a9efbaeb72a8de110804871dccac1854","before":"2b3ed4e6824808c0956009d92d0aef775c98541d","commits":[{"sha":"93d01eb443d0f871716c9d7faa3b69dc49662663","author":{"email":"5e04f5e87d82cb49dd602b9614f71da9532f935e@gmail.com","name":"Nick Fitzgerald"},"message":"Make the maximum edit distance of typo suggestions a function of the typo'd name's length.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/93d01eb443d0f871716c9d7faa3b69dc49662663"},{"sha":"dcc59c09a9efbaeb72a8de110804871dccac1854","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #26087 - fitzgen:improve-suggestion-hueristics, r=Aatch\n\nThis makes the maximum edit distance of typo suggestions a function of the typo'd name's length. FWIW, clang uses this same hueristic, and I've found their suggestions to be better than rustc's. Without something like this, you end up with suggestions that aren't related at all when there are short variable names.\r\n\r\nSee also https://github.com/rust-lang/rust/issues/20028#issuecomment-109767159","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/dcc59c09a9efbaeb72a8de110804871dccac1854"}]}