How would you find the longest continuous string with all distinct characters?
Implement longest_distinct_substring(s) to return the longest contiguous substring containing no repeated characters. If multiple substrings have the same maximum length, return the one with the earliest starting index. The input is a string, and the output is a string.
def longest_distinct_substring(s):