code: func ReverseTrits(trits Trits) Trits {
  	for left, right := 0, len(trits)-1; left < right; left, right = left+1, right-1 {
  		trits[left], trits[right] = trits[right], trits[left]
  	}
  
  	return trits
  }
docs: // ReverseTrits reverses the given trits.