Skip to content
Snippets Groups Projects
  • Jean Chalard's avatar
    7e49a2b6
    Remove some special casing · 7e49a2b6
    Jean Chalard authored
    This special casing is useless. If the word is the same as what
    user typed, the scoring algorithm already ensures that it comes
    out at the top. Actually, as is written in a comment here, code
    executed later is actively relying on this suggestion having
    the top score ! There is no need to test it for equalness and
    inserting it at the top then.
    
    Change-Id: I263a6de59b77ec72a2dcbb933361b8e16fca0681
    7e49a2b6
    History
    Remove some special casing
    Jean Chalard authored
    This special casing is useless. If the word is the same as what
    user typed, the scoring algorithm already ensures that it comes
    out at the top. Actually, as is written in a comment here, code
    executed later is actively relying on this suggestion having
    the top score ! There is no need to test it for equalness and
    inserting it at the top then.
    
    Change-Id: I263a6de59b77ec72a2dcbb933361b8e16fca0681