You specified either . (current directory) or .. (parent directory) as the final pathname component of pathname. rm will not remove these directories.
Processing for the pathname is skipped, the command continues.
Do not specify . or .. as the final pathname component of pathname.