github.com/anacrolix/torrent@v1.61.0/internal/indexed/record.go (about)

     1  package indexed
     2  
     3  // Comparable for value-comparison on update function. I think it might be a reasonable requirement.
     4  // I could add others for the Table2 style, and Map, and allow some global functions to require
     5  // conforming record types.
     6  type Record comparable