Canned beans don't have to be rinsed before they're eaten, but if you don't want to add extra liquid to your recipe (or just don't want all of that salt) you can easily rinse them in their own can without dirtying a colander.
Illustration by America's Test Kitchen
Of course, you can use this tip from America's Test Kitchen (link below) on any canned good, not just beans. Simply punch a few holes in the bottom of the can with a can opener, turn the can right side up, and remove the top. (I recommend doing this over a sink.) Let the liquid drain out through the bottom, rinse, and you're ready to go.
How to Strain Bacon Grease Without Making a Mess [America's Test Kitchen]