Airbnb project - addRental Question

Hoping someone (instructor or otherwise) can help with this question regarding the smart contract development section of the Airbnb tutorial?

The first addRental function below is the one the instructor (Jay) put toghether and the second addRental function is how i would have coded it. I am curious if both methods are appropriate or if there is a reason we’d have to code it the way the instructor coded it by declaring the new rental struct in storage first… rentalInfo storage newRental = rentals[counter];
Or is my method coding like this… rentals[counter] = rentalInfo ({ also suffice?
See the full comparison below. I left the events off to save some space and make it clearer.

Instructor’s way

function addRentals2(
        string memory _name, 
        string memory _city, 
        string memory _lat,
        string memory _long,
        string memory _unoDescription,
        string memory _dosDescription,
        string memory _imgUrl,
        uint256  _maxGuests,
        uint256 _pricePerDay,
        string[] memory _datesBooked,
        uint256 _id,
        address _renter
    )
        public
        {
        require(msg.sender == owner, "Only owner can put up Rentals");
        rentalInfo storage newRental = rentals[counter];
        newRental.name = _name;
        newRental.city = _city;
        newRental.lat = _lat;
        newRental.long = _long;
        newRental.unoDescription = _unoDescription;
        newRental.dosDescription = _dosDescription;
        newRental.imgUrl = _imgUrl;
        newRental.maxGuests = _maxGuests;
        newRental.pricePerDay = _pricePerDay;
        newRental.datesBooked = _datesBooked;
        newRental.id = counter;
        newRental.renter = owner;
        rentalIds.push(counter);
        counter++;
        }

My method….

function addRentals1(
        string memory _name, 
        string memory _city, 
        string memory _lat,
        string memory _long,
        string memory _unoDescription,
        string memory _dosDescription,
        string memory _imgUrl,
        uint256  _maxGuests,
        uint256  _pricePerDay,
        string[] memory _datesBooked,
        uint256 _id,
        address _renter
    )
        public {
        require(msg.sender == owner, "Only owner can add rental");
        rentals[counter] = rentalInfo ({
            name: _name,
            city: _city,
            lat: _lat,
            long: _long,
            unoDescription: _unoDescription,
            dosDescription: _dosDescription,
            imgUrl: _imgUrl,
            maxGuests: _maxGuests,
            pricePerDay: _pricePerDay,
            datesBooked: _datesBooked,
            id: counter,
            renter: owner
        });
        rentalIds.push(counter);
        counter++;
    }

So are both of these methods okay? They both seemed to compile and work in Remix but i am skeptical. Is there some reason the instructors method is better? Thanks in advance for the help.