In bar 3, there is a 4th finger roll. Just try to pull the fretting hand back from the wrist very slightly so that the finger actually mutes the B string as it rolls onto the high E string. The phrase ends with a jazzy line using an A augmented triad in beat 4. This can be seen in the context of D Melodic Minor (R 2 b3 4 5 6 7) which is frequently used in conjunction with the Dorian mode. On the slow backing track, I have played the example half speed as written, but when these lines are initially learnt, you may find it helpful to play them as strict 16th notes, which you will hear me demonstrate on the repeat.
The full speed transcribed version is really felt as a constant line which is played as fast as possible while targeting the exit note by feel. The intent wasn’t necessarily to play odd subdivisions!