Skip to content
  • Sergio Costas's avatar
    Doesn't return an error when returning NULL as borrowed · 3d3712c0
    Sergio Costas authored
    Until now, if the return value is marked as __crust_borrow__, crust
    shown an error saying that a non-borrowed value is being returned.
    
    This patch fixes this, because it is obvious that it must be possible
    to return NULL in these cases.
    3d3712c0