im assuming that the bedroom is right next to the bathroom and not directly beneath it. This being assumed, if the water did reach the other side of wall into the bedroom, then there may be dampness in the wood studs near bottom for a few days as long as the water leak has been repaired. There may also be minor carpet or wood floor dampness but if leak was not over a prolonged period time, damages and moistness will be very minor and not a concern. put a fan near the wall and allow to run on low or medium for 24 to 48 hrs. to ensure drywall , carpet, etc doesn't mold.