Here's a little more about your weed:
Common Name: Pennsylvania Smartweed, Pink Smartweed
Appearance and Habitat: Dense, erect, spike-like clusters of small, bright pink flowers are on sticky-haired stalks. About 75 species of smartweeds occur in North America. They are mainly are identified by their spikes of numerous flowers and encircling leaf sheaths. A closely related species, Pale Smartweed (P. lapathifolium), has white or pale rose, arching flower spikes and usually smooth stems. Both are found in gardens as well as in damp waste places. The seeds of these plants are eaten by songbirds and waterfowl. There are also climbing species of smartweeds.(1)Waste ground in moist soils. Moist disturbed places, ditches, riverbanks, cultivated fields, shorelines of ponds and reservoirs from sea level to 1800 meters. Eastern N. America â€“ Nova Scotia to Ontario, Minnesota, Florida and Texas. An annual growing to 0.7 m (2ft 4in). It is in flower from Apr to December.(2)
Edible Uses: None
Not considered edible and in fact mildly toxic to horses and probably other animals. No matter what it was you would not have been likely to suffer any ill effects from just taking a little taste. But do keep in mind that weeds are ubiquitous and many common garden weeds and plants are toxic. So do be a little careful about eating unidentified plants. Just because you think you planted something, that doesn't mean it is what you got.