def make_code(text):
    """Format text as reStructuredText code.

    Args:
        text: Text string to format.

    Returns:
        Formatted text string.
    """
    return ':code:`{}`'.format(text)