Jamie McCombe's late header earned Bristol City a narrow win at Doncaster and took the Robins to within two points of the League One summit.
City were indebted to Brazilian goalkeeper Adriano Basso for keeping them in the contest.
Basso saved from Bruce Dyer early on, but his best stop came with 10 minutes remaining, as he caught Danny Cadamarteri's brilliant volley.
With three minutes left, McCombe buried Lee Johnson's cross from the left.
Doncaster: Sullivan, O'Connor, Lockwood, Lee, McDaid, Paul Green (Wilson 81), Thornton, Stock, Forte (Nelthorpe 86), Dyer, Cadamarteri.
Subs Not Used: Worley, Guy, Hird.
Booked: Stock.
Bristol City: Basso, McCombe, Carey, Betsy, Fontaine, Orr, Skuse, Johnson, Russell (Noble 77), Showunmi (Jevons 86), Brooker (Smith 55).
Subs Not Used: Thomas, Keogh.
Booked: Russell, Smith.
Goals: McCombe 88.
Att: 7,945.
Ref: G Salisbury (Lancashire).